or
<telerik:RadWindowManager ID="RadWindowManager1" Runat="Server" Skin="Web20" Modal="True" KeepInScreenBounds="True" EnableShadow="True" Behaviors="Close, Move" VisibleStatusbar="False" ReloadOnShow="True" ShowContentDuringLoad="False" Behavior="Close, Move" Title="Confirm Action" IconUrl="~/Content/Dashboard/Icons/radwindow_confirmdelete.png" OnClientDragStart="OnWindowDrag" Style="z-index: 90001 !important"> <Windows> <telerik:RadWindow ID="DashboardGlobalSettingsWindow" Runat="Server" NavigateUrl="~/Dashboard/Dialog/Windows/DashboardGlobalSettings.aspx" OnClientShow="OnDashboardGlobalSettingsShow" OnClientClose="OnDashboardGlobalSettingsClose" IconUrl="~/Content/Dashboard/Icons/radwindow_settings.png" OnClientAutoSizeEnd="OnClientAutoSizeEnd" Title="Global Settings" MinHeight="337px" Height="337px" Width="450px" /> </Windows></telerik:RadWindowManager>//Shows the global settings window -- dock isn't relevant here.//I cancel the event because I'm making it look like a button on the side when it is really//a sliding zone that would expand. When I cancel the slide event, though, it's a button!function ShowDashboardGlobalSettings(sender, eventArgs) { eventArgs.set_cancel(true); oWindow = radopen(null, "DashboardGlobalSettingsWindow");}//Pass current tabs to the dialog window.function OnDashboardGlobalSettingsShow(sender) { sender.argument = $find(radTabStrip1ID).get_tabs();}//Pass tabs back to dashboard.function OnDashboardGlobalSettingsClose(sender) { var globalJSONAttributes = sender.argument; if (globalJSONAttributes != null) { __doPostBack(radTabStrip1UniqueID, $.toJSON(globalJSONAttributes)); } oWindow = null;}<telerik:RadWindow ID="CustomLocalSettingsWindow" Runat="Server" NavigateUrl="~/Dashboard/Dialog/Windows/CustomLocalSettings.aspx" OnClientShow="OnLocalSettingsShow" OnClientClose="OnCustomLocalSettingsClose" IconUrl="~/Content/Dashboard/Icons/radwindow_settings.png" OnClientAutoSizeEnd="OnClientAutoSizeEnd" Title="Settings" Width="450px" Height="200px"/>function ShowLocalSettings(dock) { radDock = dock; //Maintain a hold on the dock that is pulling up the window. Useful to save info when window closes. var reportType = radDock.get_element().getAttribute("ReportType"); if (reportType == "HistoricalReport") { oWindow = window.radopen(null, "HistoricalLocalSettingsWindow"); } else if (reportType == "CustomReport") { oWindow = window.radopen(null, "CustomLocalSettingsWindow"); if ($.browser.opera) { alert("test"); oWindow.set_height(oWindow.get_height() - 45); } } else { window.radalert("Didn't find report type."); }}If TypeOf e.Item Is GridFooterItem ThenDim footer As GridFooterItem = CType(e.Item, GridFooterItem)footer("Duration_Hours").Controls.Add(New LiteralControl("<span dir ='rtl' style='color: Black; font-weight: bold;'>Total Hours : " & lblTotalhours.Text & "</span> ")
End If