iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
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>
thanks
Ellen Welch
Hi Ellen,
I tried to replicate your issue here. But unfortunately, WebDesktop doesn't show me any rendering problem that cause long-time loading. Could you tell me what control that you used inside RMSDefault page? This problem might be happen because there are many controls that need to get the structure from server side.
Actually for the first time, WebTab will be rendered inside WebDesktopWindow then WebTab will render the active page of WebTab. The rest iFramepage will be rendered into WebTab if you make the page as active tab on WebTab. So I think this page won't take much time to be rendered in your WebPage.
Look forward to hear any feedback from you so I can help you further.
Regards,Bernard
Hi Bernad,
The rendering of the windows have gotten progressively worst. What do you need from me to show you the problem. I have had another developer look at the page and can't find what the problem seems to be. What are the basic settings for the window page, maybe it's something internal.
The webtab works. It too is just too slow.
I can take these pages out of the webdesktop and run them individually and they work fine. But I run them in the webdesktop environment and some are running slow and others won't show me the content of the page.
I must have something configured wrong in the webdesktop or the webconfig.
Thanks,
Ellen
Hi Bernard,
I have attached 5 text files, hopefully correctly. The default page, which has the webdesktop which calls the 3 other pages. The QuickCommand page which has a webslidingmenu in it (that won;t show when executing inside the desktop) but will show when it's a standalone page. the rmsdefault page is a page which has a webtab, which has about 8 tabs, all call different pages to put into the iframe. This works almost alright except that it takes to long to load and the property page has an additional webtab at the bottom of it that won't show. I also include the xml file for the webslidingmenu.
thanks Ellen
the files (sorry)
Oh, one more thing.
I found out that the project won't run in IE 9, but it super fast say in firefox v10. It seems to be a performance issue. What rev of IE are you running?
Using your code that you gave me above, I tried to replicate your issue in our local end. I also put the same structure like yours in my website. Unfortunately, I couldn't use some other assembly and user control like InputMask, GroupValidator, CRISCommandInterface, and etc because we don't have it in our local end. So I delete other control that are not ours, so I can run the website in our local end.
However, when I tried to run it in IE9 browser, Default.aspx can be loaded perfectly and it only used less than 10 seconds to show the website in our local end. Although, when I open RMSDefault, it takes 3 seconds to show the PropertyRecord page but it is expected because there are many WebCombo controls inside that page.
To replicate your issue in our local end, we need a running sample that can replicate your issue in our local end. This is necessary because we need to trace which control that make this issue happen in your local end. Look forward to hear any feedback from you so I can help you further.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname