WebDeskTop - WebWindows

7 replies. Last post: February 4, 2013 8:37 PM by Bernard Xiang
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Ellen WelchMember

Hello,



Developing a site that using the WebDeskTop that have several WebDeskTopWindows which it opens.

The problem that I'm having is that there are several of the windows that take several minutes to load the content. Actually it takes about 5 - 10 minutes.

I have included the code for the default  page.

The RMSDefault.aspx page takes the longest to load, on this page is a webtab with about 10 tabs on it and each tab has content on

 

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb" Inherits="MyCRIS._Default"%>

<%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %>

<%@ Register TagPrefix="uc1" TagName="MessageCenterNews" Src="~/Controls/MessageCenterNews.ascx" %>

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head id="Head1" runat="server">

 <title>Desk Top</title>

 <script type="text/javascript" language="javascript">

 function showDialog() {

 var wcm = ISGetObject('WebContextMenu1');

 wcm.RootMenu.OffsetAlignment = "LeftTop";

 wcm.SetOffsetElement(document.getElementById("StartBtn"));

 wcm.Show();

 }

 function showWindow(winName) {

 var dm = ISGetObject('WebDesktopManager1');

 dm.Windows.GetNamedItem(winName).ShowAndActivate();

 }

 </script>

 <script language="javascript" type="text/javascript" id="WebDesktopManager1_OnInitialize">

  <!--

 function WebDesktopManager1_OnInitialize(controlId) {

 var WebDesktopManager1 = ISGetObject(controlId);

 document.getElementById("userLbl").innerHTML = "Tester User";

 return true;

 }

  -->

</script>

 <style type="text/css">

 #Table1

 {

 width: 700px;

 }

 </style>

</head>

<body id="bodyDeskTop" runat="server" >

 <form id="form1" runat="server" >

<!-- <div id="logout" style="position:fixed" align="left" >

 <asp:ImageButton id="btnLogOut" ImageUrl="/images/btnLogOut.gif" runat="server" CausesValidation="False"></asp:ImageButton>

 </div> -->

 <div>

 </div>

 <div>

 <ISWebDesktop:WebDesktopManager ID="WebDesktopManager1" runat="server" Height="100%" Width="100%"

 ShortcutIconsVisible="True" EnableContextMenu="True"

 EnableAnimation="False" ActiveWindowIndex="0"

 ShadowModeAnimation="False" AnimationStyle="VistaStyleZoom"

 ShadowModeTransparency="False" WindowInteractiveMode="Shadow">

 <ShortcutSettings Movable="True"></ShortcutSettings>

 <WindowSettings>

 <WindowStyle>

 <Active BaseStyle="Normal" BorderColor="#8e8e8e" BackColor="#e8e8e8">

 <BorderSettings>

 <Top Width="0px" Color="176, 207, 247" />

 <Top Width="0px" Color="176, 207, 247"></Top>

 </BorderSettings>

 </Active>

 <Normal BackColor="White" BorderColor="LightGray" BorderStyle="Solid" BorderWidth="1px"

 Font-Names="segoe ui, tahoma" Font-Size="9pt" Overflow="Auto" OverflowX="Auto"

 OverflowY="Auto" Height="100%">

 <BorderSettings>

 <Top Width="0px" Color="LightGray" />

 <Top Width="0px" Color="LightGray"></Top>

 </BorderSettings>

 </Normal>

 </WindowStyle>

 <CaptionStyle>

 <Normal BackColor="Gray" BackColor2="220, 220, 220" Cursor="Default"

 Font-Bold="True" Font-Names="Tahoma" Font-Size="10pt" ForeColor="White">

 <Padding Bottom="2px" Left="2px" Right="2px" Top="2px" />

 <Padding Top="2px" Left="2px" Right="2px" Bottom="2px"></Padding>

 </Normal>

 <Active BackColor="Navy" BackColor2="192, 192, 255" BaseStyle="Normal">

 </Active>

 </CaptionStyle>

 <CaptionButtonStyle>

 <Normal BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Height="17px"

 Overflow="Hidden" OverflowX="Hidden" OverflowY="Hidden">

 </Normal>

 <Over BaseStyle="Normal">

 <BorderSettings>

 <Bottom Color="Gray" />

 <Right Color="Gray" />

 <Bottom Color="Gray"></Bottom>

 <Right Color="Gray"></Right>

 </BorderSettings>

 </Over>

 <Active BaseStyle="Normal">

 <BorderSettings>

 <Left Color="Gray" />

 <Top Color="Gray" />

 <Left Color="Gray"></Left>

 <Top Color="Gray"></Top>

 </BorderSettings>

 </Active>

 </CaptionButtonStyle>

 <ContainerStyle BackColor="White" Font-Names="Tahoma" Font-Size="8pt"

 Overflow="Auto" OverflowX="Auto" OverflowY="Auto" Height="100%"

 Width="100%">

 <Padding Bottom="4px" Left="4px" Right="4px" Top="4px" />

 <Padding Top="4px" Left="4px" Right="4px" Bottom="4px"></Padding>

 </ContainerStyle>

 <CommandButtonStyle>

 <Normal BackColor="Control" BorderColor="ControlDarkDark" BorderStyle="Solid"

 BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt">

 </Normal>

 <Over BackColor="#C5C2AF" BaseStyle="Normal">

 </Over>

 <Active BackColor="#8A887B" BaseStyle="Normal" ForeColor="White">

 </Active>

 </CommandButtonStyle>

 <CommandButtonDisabledStyle BackColor="Control" BorderColor="ControlDarkDark"

 BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt"

 ForeColor="Gray">

 </CommandButtonDisabledStyle>

 </WindowSettings>

 <FrameStyle BackColor="White"></FrameStyle>

 <Windows>

 <ISWebDesktop:WebDesktopWindow Name="wndNewsCenter" Text="News Center"

 ControlBoxImage="~/Images/QuestionBook.gif" Size="750, 500" AllowClose="No">

 <ContentTemplate>

 <div align="center" style="padding: 10px; background-color: transparent; height: 100%">

 <table id="Table2" cellspacing="0" cellpadding="0" align="center" border="0" style="width:auto; height:auto" >

     <tr>

      <td><uc1:MessageCenterNews id="MessageCenterNews1" runat="server"></uc1:MessageCenterNews></td>

     </tr>

    </table>

 </div>

 </ContentTemplate>

 </ISWebDesktop:WebDesktopWindow>

 </Windows>

 <ShortcutIcons>

 <ISWebDesktop:WebDesktopShortcut Name="scInbox" Text="INBOX"

 ToolTip="MYCRIS Web Mail" WindowName="wndInbox" Image="./Images/Inbox.jpg" TargetURL="~/Apps/Messaging/InboxOutLook.aspx"/>

 <ISWebDesktop:WebDesktopShortcut Name="scQuickCommands" Text="Quick Commands"

 ToolTip="Quick Commands" WindowName="wndQC" Image="./Images/QuickCommand1.jpg" TargetURL="~/Apps/LEADS/QuickCommands.aspx" />

 <ISWebDesktop:WebDesktopShortcut Name="scRMS" Text="RMS"

 ToolTip="RMS System" WindowName="wndRMS" Image="./Images/RMS.jpg" TargetURL="~/Apps/RMS/RMSDefault.aspx" />

 <ISWebDesktop:WebDesktopShortcut Image="./images/TACToolbox1a.png" Name="scTACCorrner"

 Text="TAC Corner" ToolTip="TAC Tools" WindowName="wndTACTools" />

 </ShortcutIcons>

 <ClientSideEvents OnInitialize="WebDesktopManager1_OnInitialize"></ClientSideEvents>

 <TaskBarLeftTemplate>

 <img id="StartBtn" src="images/WebDesktopIconRound-16.gif" style="cursor: pointer" title="New Window" onclick="showDialog()" alt="Start Button" />

 </TaskBarLeftTemplate>

 <TaskBarRightTemplate>

 Logged in: <label id="userLbl"></label>

 </TaskBarRightTemplate>

 <TaskBarStyle BackColor="#E9E6D7" BackColor2="192, 192, 192" Font-Names="Tahoma"

 Font-Size="8pt" Height="30px" Overflow="Hidden" OverflowX="Hidden" OverflowY="Hidden">

 <BorderSettings>

 <Top Color="White" Width="2px" />

 <Bottom Color="White" Width="2px" />

 <Bottom Width="2px" Color="White"></Bottom>

 <Top Width="2px" Color="White"></Top>

 </BorderSettings>

 </TaskBarStyle>

 <TaskBarButtonStyle>

 <Active BackColor="WhiteSmoke" BackColor2="211, 211, 211" BaseStyle="Normal" BorderColor="Gray"

 GradientType="Vertical">

 <BorderSettings>

 <Bottom Color="White" />

 <Right Color="White" />

 <Bottom Color="White"></Bottom>

 <Right Color="White"></Right>

 </BorderSettings>

 </Active>

 <Normal BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Cursor="Default"

 Font-Names="Tahoma" Font-Size="8pt" Width="150px">

 <BorderSettings>

 <Bottom Color="Gray" Width="1px" />

 <Right Color="Gray" Width="1px" />

 <Bottom Width="1px" Color="Gray"></Bottom>

 <Right Width="1px" Color="Gray"></Right>

 </BorderSettings>

 </Normal>

 </TaskBarButtonStyle>

 <ShortcutStyle>

 <Normal Cursor="Default" Font-Names="Tahoma" Font-Size="8pt"></Normal>

 <Active BaseStyle="Normal" BackColor="Navy" ForeColor="White"></Active>

 </ShortcutStyle>

 <MenuStyles>

 <System HasBackgroundStrip="False">

 <ItemStyle>

 <Over BackColor="Highlight" BaseStyle="Normal" ForeColor="White">

 </Over>

 <Normal Font-Names="Tahoma" Font-Size="8pt">

 </Normal>

 </ItemStyle>

 <SeparatorStyle>

 <BorderSettings>

 <Top Color="Gray" Width="1px" />

 <Top Width="1px" Color="Gray"></Top>

 </BorderSettings>

 </SeparatorStyle>

 <FrameStyle BackColor="White" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px">

 </FrameStyle>

 <DisabledItemStyle>

 <Over BackColor="#E0E0E0" BaseStyle="Normal">

 </Over>

 <Normal Font-Names="Tahoma" Font-Size="8pt" ForeColor="Silver">

 </Normal>

 </DisabledItemStyle>

 </System>

 </MenuStyles>

 </ISWebDesktop:WebDesktopManager>

 </div>

 <div>

 <ISWebDesktop:WebContextMenu ID="WebContextMenu1" runat="server" >

 <Items>

 <ISWebDesktop:WebMenuItem Text="Admin Utilities" Name="mnuAdminUtil">

 <Items>

 <ISWebDesktop:WebMenuItem Text="Agency Manager" Name="mnuAgencyMgr">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Text="News Manager" Name="mnuNewsMgr">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Name="mnuResponseLog" Text="Response Log">

 </ISWebDesktop:WebMenuItem>

 </Items>

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Text="Quick Command" Name="mnuQCmd" TargetURL="~/Apps/Messaging/InboxOutLook.aspx">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Text="RMS Records" Name="mnuRMS" TargetURL="~/Apps/RMS/RMSDefault.aspx" >

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Text="Terminal Agency Cordinator Corner" Name="mnuTAC">

 <Items>

 <ISWebDesktop:WebMenuItem Name="mnuUserMgr" Text="User Manger"

 Tooltip="User Manager">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Name="mnuMyAgency" Text="My Agency"

 Tooltip="Agency Coordination">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Name="mnuTermMgr" Text="Terminal Manger"

 Tooltip="Terminal Manager">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Name="mnuMyHotKeys" Text="My Hot Keys"

 Tooltip="Hot Keys Function Keys">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Name="mnuMyKeyWords" Text="My Key Words"

 Tooltip="My Key Words Highligt">

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Name="mnuDGEdit" Text="DG Edit"

 Tooltip="Distribution Group Edit">

 </ISWebDesktop:WebMenuItem>

 </Items>

 </ISWebDesktop:WebMenuItem>

 <ISWebDesktop:WebMenuItem Text="Log Out" Name="mnuLogOut"

 Tooltip="Logging Out" OnClick="self.close(this.window)">

 </ISWebDesktop:WebMenuItem>

 </Items>

 </ISWebDesktop:WebContextMenu>

 </div>

 </form>

</body>

</html>

The RMSDefault page takes the longest to load. Its a web page that has a webtab on it that has about 10 tabs each referencing a different page. example:

<ISWebDeskTop:WebTabItem Text="Vehicle" ContentURL="~/Apps/RMS/Towed/Enter.aspx" ContentMode="UseIFrame" InProgressText="Loading..." Name="wtbTow">



 

 <TabPages>
                <ISWebDesktop:WebTabItem Text="Incident" ContentURL="~/Apps/RMS/Offense Incident/OffenseIncidentRecord.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......" Name="wtbIncidents" ToolTip="Offense Incidents">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Property" ContentURL="~/Apps/RMS/Property/PropertyRecord.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......" Name="wtbProperty" ToolTip="Property">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Arrest" ContentURL="~/Apps/RMS/Arrest/ARE.aspx" ContentMode="UseIFrame"
                    InProgressText="Loading......" Name="wtbArrest" ToolTip="Arrested Person">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Citation">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Parking Ticket">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Towed Vehicle" ContentURL="~/Apps/RMS/TowedVehicle/EnterTow.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......" Name="wtbTowedVehicle">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Missing Person">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Traffic Crash">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Name="wtbWarrants" Text="Warrants" ContentURL="~/Apps/RMS/Warrants/Warrants.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......">
                </ISWebDesktop:WebTabItem>
            </TabPages>
 <TabPages>
                <ISWebDesktop:WebTabItem Text="Incident" ContentURL="~/Apps/RMS/Offense Incident/OffenseIncidentRecord.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......" Name="wtbIncidents" ToolTip="Offense Incidents">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Property" ContentURL="~/Apps/RMS/Property/PropertyRecord.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......" Name="wtbProperty" ToolTip="Property">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Arrest" ContentURL="~/Apps/RMS/Arrest/ARE.aspx" ContentMode="UseIFrame"
                    InProgressText="Loading......" Name="wtbArrest" ToolTip="Arrested Person">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Citation">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Parking Ticket">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Towed Vehicle" ContentURL="~/Apps/RMS/TowedVehicle/EnterTow.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......" Name="wtbTowedVehicle">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Missing Person">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Text="Traffic Crash">
                </ISWebDesktop:WebTabItem>
                <ISWebDesktop:WebTabItem Name="wtbWarrants" Text="Warrants" ContentURL="~/Apps/RMS/Warrants/Warrants.aspx"
                    ContentMode="UseIFrame" InProgressText="Loading......">
                </ISWebDesktop:WebTabItem>
            </TabPages>

 

thanks



Ellen Welch

All times are GMT -5. The time now is 11:55 AM.
Previous Next