Is it possible to only allow drag/drop to be active for the headertemplate area of a panel? We have active content in the contentemplate that is looking for mouse down and drag/drop enabled is causing problems with this.
<SfDashboardLayout ID="dashboard" AllowDragging=@true AllowResizing=@true Columns=@DashBoardColumns CellAspectRatio=@DashBoardAspectratio @
[email protected]>
<DashboardLayoutEvents Created=@DashBoardCreate Changed=@DashBoardTileChange OnResizeStop="DashBoardResizeStop"/>
<DashboardLayoutPanels>
@foreach (DashBoardTile DashBoardTileObj in this?.DashBoardObj?.Tiles)
{
@key=@DashBoardTileObj>
<HeaderTemplate>
@{ var Scope = this.DashBoardObj.Scopes.Where(x => x.DashBoardScopeId == DashBoardTileObj.ScopeId).FirstOrDefault();
var ScopeName = "Not found";
if (Scope != null)
{
ScopeName = Scope.Name;
}
<DashBoardTileHeader DashBoardTileObj=@DashBoardTileObj
DashBoardScopeName=@ScopeName
OpenTileSettingsCallback=@OpenDashBoardTileSetting
DeleteTileCallback=@DeleteDashBoardTile
DownloadTileDataCallback=@DownLoadDashBoardTileData
CloneTileCallback="@CloneDashBoardTile"></DashBoardTileHeader>
}
</HeaderTemplate>
<ContentTemplate>
<DashBoardTileContent DashBoardTileObj=@DashBoardTileObj @
[email protected]></DashBoardTileContent>
</ContentTemplate>
</DashboardLayoutPanel>
}
</DashboardLayoutPanels>
</SfDashboardLayout>