Tauseef Kaldane

Tauseef Kaldane

  • NA
  • 22
  • 13.5k

Add Employee SubMenu Is not displayed on browser

Jul 4 2014 2:26 AM
hello friends

i used Menu Control Of Asp.net on header control. while developing time it was working correctly but when i deployed and hosted on iis,a submenu 'Add Employee' under Menu 'Employee' is not being displayed on browser. but when i run project it is working properly. i have a code for that menu control after hosting website on iis as follows.


<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="Mori_2014.Control.Header" %>
<link href="../Style/StyleSheet.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
idleMax = 5; // Logout after 10 minutes of IDLE
idleTime = 0;
$(document).ready(function () {
var idleInterval = setInterval("timerIncrement()", 5000);
$(this).mousemove(function (e) { idleTime = 0; });
$(this).keypress(function (e) { idleTime = 0; });
})
function timerIncrement() {
idleTime = idleTime + 1;
if (idleTime > idleMax) {
window.location = "../login.aspx";
}
}
</script>

<%--

<img src="../Image/Hindalco%20Muri%20Logo.bmp" height="100" width="100" />


REAL TIME INFORMATION PORTAL


<%--<img src="../Image/harsh%20infotech.JPG" height="100" width="100" style="border-width:1px; border-style:solid;"/>--%>
<%--<img src="../Image/hilogo.png" height="100" width="100"/>
--%>



<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"
BackColor="White" Font-Bold="True" Font-Names="Calibri"
ForeColor="#8796AC" StaticEnableDefaultPopOutImage="False" Font-Size="10pt" onmenuitemclick="Menu1_MenuItemClick" >


ForeColor="White" HorizontalPadding="5px" ItemSpacing="10px"
VerticalPadding="5px" />


<asp:MenuItem Text="EMPLOYEE" Value="EMPLOYEE">
<asp:MenuItem Text="ADD EMPLOYEE" Value="ADD EMPLOYEE">


<asp:MenuItem Text="THICK & FILTRATION" Value="THICK & FILTRATION">

<asp:MenuItem Text="PRECIPT-LIME" Value="PRECIPT-LIME">
<asp:MenuItem Text="PRECIPITATION" Value="PRECIPITATION" >

<asp:MenuItem Text="GRANULOMETRY" Value="GRANULOMETRY">
<%--<asp:MenuItem Text="AGGLOMERATION 1ST TANK (TANK NO. 27/28)"
Value="AGGLOMERATION 1ST TANK (TANK NO. 27/28)">
<asp:MenuItem Text="AGGLOMERATION LAST TANK (TANK NO. 24/26)"
Value="AGGLOMERATION LAST TANK (TANK NO. 24/26)">
<asp:MenuItem Text="LIME SAMPLE" Value="LIME SAMPLE">
<asp:MenuItem Text="NG FEED" Value="NG FEED">
<asp:MenuItem Text="NG PUMP OFF" Value="NG PUMP OFF">
<asp:MenuItem Text="TCA SAMPLE (LIME PRECOAT)"
Value="TCA SAMPLE (LIME PRECOAT)">--%>

<asp:MenuItem Text="CLASSIF EVAP & HYDR WASH"
Value="CLASSIF EVAP & HYDR WASH">
<%--<asp:MenuItem Text="SPENT LIQUOR" Value="SPENT LIQUOR">
<asp:MenuItem Text="SUSPENDED ALUMINA-GPL" Value="SUSPENDED ALUMINA-GPL">

<asp:MenuItem Text="THICK LIQUOR CONC 320 TO 360GPL"
Value="THICK LIQUOR CONC 320 TO 360GPL">
<asp:MenuItem Text="NEW SAMPLE (GPL HYDT)" Value="NEW SAMPLE (GPL HYDT)">

<asp:MenuItem Text="CFBC HYDRATE" Value="CFBC HYDRATE">
<asp:MenuItem Text="HYDRATE WASHING & CALCINATION"
Value="HYDRATE WASHING & CALCINATION">
<asp:MenuItem Text="CYCLONE" Value="CYCLONE">
<asp:MenuItem Text="MICROFINER SAMPLE ANALYSIS"
Value="MICROFINER SAMPLE ANALYSIS">
<asp:MenuItem Text="LEACHEABLE SODA (Na2O)" Value="LEACHEABLE SODA (Na2O)">
--%>

<asp:MenuItem Text="KILN-MICRO FI ANALYSIS" Value="KILN-MICRO FI ANALYSIS">
<%--<asp:MenuItem Text="SPECIAL ALUMINA" Value="SPECIAL ALUMINA">
<asp:MenuItem Text="CFBC ALUMINA" Value="CFBC ALUMINA">
<asp:MenuItem Text="ALUMINA" Value="ALUMINA">
<asp:MenuItem Text="ADDITIONAL SAMPLES" Value="ADDITIONAL SAMPLES">
--%>

<asp:MenuItem Text="SPL ANALYSIS" Value="SPL ANALYSIS">
<%--<asp:MenuItem Text="SPECIAL ANALYSIS" Value="SPECIAL ANALYSIS">
<asp:MenuItem Text="PRODUCT CYCLONE FEED" Value="PRODUCT CYCLONE FEED">

<asp:MenuItem Text="PRODUCT CYCLONE U/F" Value="PRODUCT CYCLONE U/F">
--%>

<asp:MenuItem Text="CRUSH & GRIND" Value="CRUSH & GRIND">
<%--<asp:MenuItem Text="ANALYSIST" Value="ANALYSIST">
<asp:MenuItem Text="WEATHER" Value="WEATHER">
<asp:MenuItem Text="CRUSH & GRINDING" Value="CRUSH & GRINDING">

<asp:MenuItem Text="DIGESTION" Value="DIGESTION">--%>

<asp:MenuItem Text="MANUAL DATA" Value="MANUAL DATA">

<%--<asp:MenuItem Text="REPORTS" Value="REPORTS">
<asp:MenuItem Text="THICK & FILTRATION REPORT"
Value="THICK & FILTRATION REPORT">
<asp:MenuItem Text="PRECIPT - LIME REPORT" Value="PRECIPT - LIME REPORT">

<asp:MenuItem Text="CLASSIF EVAP & HYDR WASH REPORT"
Value="CLASSIF EVAP & HYDR WASH REPORT">
<asp:MenuItem Text="KILN-MICRO FI ANALYSIS REPORT"
Value="KILN-MICRO FI ANALYSIS REPORT">
<asp:MenuItem Text="SPL ANALYSIS REPORT" Value="SPL ANALYSIS REPORT">

<asp:MenuItem Text="CRUSH & GRIND REPORT" Value="CRUSH & GRIND REPORT">

--%>






plz help me