public static String TileUrl(long idTile, DashboardType type, Int32 idCommunity = -1, long fromIdDashboard = 0, WizardDashboardStep step = WizardDashboardStep.None) { String url = "type=" + type.ToString(); url = url + (idCommunity > 0 ? "&idCommunity=" + idCommunity.ToString() : ""); url = url + (fromIdDashboard > 0 ? "&fromIdDashboard=" + fromIdDashboard.ToString() : "") + ((step == WizardDashboardStep.None) ? "" : "&step=" + step.ToString()); url = url + (idTile > 0 ? "&idTile=" + idTile.ToString() : ""); return(url); }
public static String DashboardPreview(long idDashboard, DashboardType type, Int32 idCommunity = -1, WizardDashboardStep step = WizardDashboardStep.None) { return(dashboardmodulehome + "Preview.aspx?" + DashboardUrl(idDashboard, type, idCommunity) + ((step == WizardDashboardStep.None) ? "" : "&step=" + step.ToString())); }
public static String TileList(DashboardType type, Boolean loadfromRecycleBin = false, Int32 idCommunity = -1, long idTile = 0, long fromIdDashboard = 0, WizardDashboardStep step = WizardDashboardStep.None) { String url = tilemodulehome; if (loadfromRecycleBin) { url = url + "RecycleBin.aspx?recycle=true"; } else { url = url + "List.aspx?recycle=false"; } url = url + (idCommunity > 0 ? "&idCommunity=" + idCommunity.ToString() : ""); url = url + "&type=" + type.ToString(); if (fromIdDashboard > 0) { url = url + "&fromIdDashboard=" + fromIdDashboard.ToString() + ((step == WizardDashboardStep.None) ? "" : "&step=" + step.ToString()); } if (idTile > 0) { url = url + "&idTile=" + idTile.ToString() + "#tile" + idTile.ToString(); } return(url); }
public static String DashboardTileReorder(WizardDashboardStep step, long idDashboard, DashboardType type, Int32 idCommunity = -1) { return(dashboardmodulehome + "ReorderTiles.aspx?&step=" + step.ToString() + "&" + DashboardUrl(idDashboard, type, idCommunity)); }