sliding menu problem

1 reply. Last post: April 11, 2013 11:47 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
kroshkabellaMember

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>
             

 

All times are GMT -5. The time now is 3:07 AM.
Previous Next