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 Bernard
here is the information about the sliding menu problem:
We have a rendering issue on all browser. In IE, the web sliding menu does not render at all. On other browser, it takes up to 3 – 5 minutes, but the menu comes down.
We will send response and the sliding menu page. Also please see xml file as an attachment
Thank you
Code is shown:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="QuickCommands.aspx.vb" Inherits="MyCRIS.QuickCommands" %> <%@ Register TagPrefix="uc1" TagName="CRISCommandInterface" Src="~/Controls/CRISCommandInterface.ascx"%> <%@ Register Assembly="ISNet.WebUI.WebEssentials" Namespace="ISNet.WebUI.WebEssentials" TagPrefix="ISWebEssentials" %> <%@ Register assembly="ISNet.WebUI.WebDesktop" namespace="ISNet.WebUI.WebDesktop" tagprefix="ISWebDesktop" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <style type="text/css"> .mainStyle { height: 610px; width: 1000px; float: left; } .headerTitle { height: 60px; width: 100%; background-color: #67486d; background-image: url(../../images/logo-header.png); background-repeat: no-repeat; } .contentWSM { width: 100%; } .divWSM { width: 300px; float: left; } .divImage { width: 700px; height: 600px; float: left; overflow: hidden; } .divToolStrip { float: left; } .headerLeft { text-align: left !important; } .iframeStyle { width: 100%; height: 100%; padding-left: 5px; } </style> </head> <script type="text/javascript" language="javascript"> function WebSlidingMenu1_OnItemClick(controlId, itemObject, itemText) { var WebSlidingMenu1 = ISGetObject(controlId); var path = itemObject.GetPath() + itemText; var itemTextStr = itemText; // var itemlength = itemTextStr.indexof("%20"); itemObject.TargetURL = itemText + ".aspx"; // if (itemlength = -1) { // itemObject.TargetURL = "" // } // else { // itemObject.TargetURL = itemText + ".aspx"; // } if (itemText == "Vehicle%20Registration") { itemObject.TargetURL = "" } else if (itemText == "Driver%20License") { itemObject.TargetURL = "" } else if (itemText == "Wants%20and%20Warrants") { itemObject.TargetURL = "" } else if (itemText == "NCIC%20Inquires") { itemObject.TargetURL = "" } else if (itemText == "Canadian%20Queries") { itemObject.TargetURL = "" } else if (itemText == "Out-of-State%20NLETS") { itemObject.TargetURL = "" } else if (itemText == "CCH/III") { itemObject.TargetURL = "" } else if (itemText == "Property") { itemObject.TargetURL = "" } else if (itemText == "Caution%20Ohio%20Police") { itemObject.TargetURL = "" } else if (itemText == "Automated%20Titling%20File") { itemObject.TargetURL = "" } else if (itemText == "Conceal%20And%20Carry%20Permits") { itemObject.TargetURL = "" } else if (itemText == "Escaped%20Violent%20Felon%20Notification") { itemObject.TargetURL = "" } else if (itemText == "Hit%20Confirmations") { itemObject.TargetURL = "" } else if (itemText == "Unidentified%20Persons") { itemObject.TargetURL = "" } return true; } </script> <body> <form id="form1" runat="server"> <div id="main" class="mainStyle"> <div id="headerTitle" class="headerTitle"> <uc1:criscommandinterface id="CRISCommandInterface" runat="server"></uc1:criscommandinterface> </div> <div id="contentWSM" class="contentWSM"> <div class="divWSM"> <ISWebEssentials:WebSlidingMenu ID="WebSlidingMenu1" runat="server" Caption="Commands" DataSourceID="XmlDataSource3" Height="600px" Width="275px" DefaultStyleMode="Silver" AccessKey="Q" ToolTip="Transaction Commands" ForeColor="Black"> <LayoutSettings TargetWindow="LEADSDesc"></LayoutSettings> <ItemStyle> <Normal Font-Size="10pt"> </Normal> <Over Font-Size="10pt"> </Over> <Active Font-Size="10pt"> </Active> </ItemStyle> <DataBindings> <ISWebEssentials:WebSlidingMenuItemBinding DataMember="root" NameField="Text" TextField="Name" /> <ISWebEssentials:WebSlidingMenuItemBinding DataMember="parent" NameField="Text" TextField="Text" /> </DataBindings> <LayoutSettings TargetWindow="LEADSDesc" /> <ClientSideEvents OnItemClick="WebSlidingMenu1_OnItemClick" /> <AlternateItemStyle> <Normal Font-Size="10pt"> </Normal> <Over Font-Size="10pt"> </Over> <Active Font-Size="10pt"> </Active> </AlternateItemStyle> </ISWebEssentials:WebSlidingMenu> <asp:XmlDataSource ID="XmlDataSource3" runat="server" DataFile="~/App_Data/LeadsTransaction.xml" XPath="//root"> </asp:XmlDataSource> </div> <div class="divImage"> <iframe name="LEADSDesc" class="iframeStyle" frameborder="0" src="about:blank"> </iframe> </div> </div> </div> <div id="divInboxRefsh" style="height:50px; width:100%;float:right"></div> </form> </body> </html>
Thank you for your recent inquiry regarding rendering issue on all browsers which deals with WebSlidingMenu control.
I started my investigation based on the provided information (sample code and xml file). A new file, called QuickCommands.aspx, is created and then bind the WebSlidingMenu control to LeadsTransaction.xml file. The only difference from the original sample code is that I removed the criscommandinterface user control since I don’t have the user control code on my local end.
The rendering test was conducted on most current version of five major web-browsers: Internet Explorer 9; Mozilla Firefox 20.0.1; Safari 5.1.7; Google Chrome 26.0.1410.64 m; and Opera 12.15.
Unfortunately I was unable to reproduce the problem using my simple sample. Everything works fine in here. The sample page can be rendered on the browsers without any issues.
I enclosed the complete sample page and a video which shows the test result on my local end. Should you find any steps that I might miss during my attempt to replicate the reported problem, please feel free to let me know.
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