master page problem
<pre><code>&lt;%@ Master Language="VB" CodeFile="Main.master.vb" Inherits="Main" %&gt;
&lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;link href="CSS_Styles/twoColFixLtHdr.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /&gt;
    &lt;script src="SpryAssets/SpryMenuBar.js" type="text/javascript"&gt;&lt;/script&gt;
     &lt;script type="text/javascript"&gt;
         function callAlert(msg) {
             alert(msg);
         }
    &lt;/script&gt;
    &lt;asp:ContentPlaceHolder id="head" runat="server"&gt;
    &lt;/asp:ContentPlaceHolder&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt;
    &lt;/asp:ToolkitScriptManager&gt;
    &lt;asp:ContentPlaceHolder ID="ScriptManager" runat="server"&gt;

    &lt;/asp:ContentPlaceHolder&gt;
    &lt;div class="container"&gt;
     &lt;div class="header"&gt;

      &amp;nbsp;&lt;asp:LoginStatus ID="LoginStatus1" runat="server" 
                                             ForeColor="White" 
                                             CssClass="signin"  Font-Size="Small"/&gt;
          &lt;asp:LoginView ID="LoginView1" runat="server"&gt;
          &lt;AnonymousTemplate&gt;
          &lt;asp:HyperLink ID="HyperLink1" runat="server" 
                                         CssClass="register" 
                                         ForeColor="White" 
                                         NavigateUrl="~/login.aspx" Font-Size="Small"&gt;Register&lt;/asp:HyperLink&gt;


          &lt;/AnonymousTemplate&gt;
          &lt;LoggedInTemplate&gt;
          &lt;asp:HyperLink ID="HyperLink2" runat="server" 
                                         NavigateUrl="~/account.aspx" 
                                         ForeColor="White" 
                                         CssClass="myaccount" Font-Size="Small"&gt;My Account&lt;/asp:HyperLink&gt;
          &lt;asp:HyperLink ID="HyperLink5" runat="server" 
                                         NavigateUrl="~/fleaMarket/fleaMarketAccount.aspx" 
                                         ForeColor="White" 
                                         CssClass="fleaaccount" Font-Size="Small"&gt;Flea Account&lt;/asp:HyperLink&gt;

          &lt;asp:HyperLink ID="HyperLink3" runat="server" 
                                         NavigateUrl="~/admin/access/access_rule_summary.aspx" 
                                         ForeColor="White" 
                                         CssClass="myaccount" Visible="false" Font-Size="Small"&gt;Admin&lt;/asp:HyperLink&gt;
          &lt;asp:HyperLink ID="HyperLink4" runat="server" 
                                         NavigateUrl="~/report.aspx" 
                                         ForeColor="White" 
                                         CssClass="myaccount" Visible="false" Font-Size="Small"&gt;Report&lt;/asp:HyperLink&gt;                                                        

          &lt;/LoggedInTemplate&gt;
          &lt;/asp:LoginView&gt;                                   
                  &lt;br /&gt;

                  &lt;div id="CartAr"&gt;
                      &lt;asp:Panel ID="Panel2" runat="server" Width="300px" Height="82px" BackColor="#ffffff"&gt;
                          &lt;asp:Image ID="imgShpngCrt" runat="server" ImageUrl="~/Images/cart image1.jpg" Width="90px" Height="82px" CssClass="fltlft1" /&gt;
                          &lt;asp:LoginView ID="LoginView2" runat="server"&gt;
                          &lt;AnonymousTemplate&gt;
                          &lt;asp:Label ID="Label2" runat="server"  
                                 ForeColor="Black" 
                                 CssClass="" Font-Size="Small"&gt;Welcome!Guest.
                          &lt;/asp:Label&gt;
                          &lt;/AnonymousTemplate&gt;
                          &lt;LoggedInTemplate&gt;
                          &lt;asp:Label ID="Label2" runat="server"  
                                 ForeColor="Black" 
                                 CssClass="" Font-Size="Small"&gt;Welcome! &lt;asp:LoginName ID="LoginName2" runat="server" /&gt;
                          &lt;/asp:Label&gt;       
                          &lt;/LoggedInTemplate&gt;
                          &lt;/asp:LoginView&gt;&lt;br /&gt;
                          &lt;div style="float:left; font-size:small;"&gt;
                          &lt;asp:Label ID="lblCartItem" runat="server" Text="Items in your cart :" ForeColor="Black" Font-Size="Small"&gt;&lt;/asp:Label&gt;
                          &lt;/div&gt;
                          &lt;asp:UpdatePanel ID="UpdatePanelMaster" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"&gt;
                          &lt;ContentTemplate&gt;
                          &lt;div style="float:left; font-size:small;"&gt;
                              &lt;asp:Label ID="lblcartitemcount" runat="server" Text="hahahah"&gt;&lt;/asp:Label&gt;
                          &lt;/div&gt;    
                          &lt;/ContentTemplate&gt;
                          &lt;/asp:UpdatePanel&gt;
                          &lt;br /&gt;&lt;br /&gt;
                          &lt;asp:LinkButton ID="LinkButton1" runat="server" ForeColor="#336699" CssClass="textdeco" Font-Size="Small"&gt;View Cart&lt;/asp:LinkButton&gt;
                          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                          &lt;/asp:Panel&gt;



                  &lt;/div&gt;




    &lt;!-- end .header --&gt;&lt;/div&gt;
&lt;div id="navPos"&gt;
    &lt;ul id="MenuBar1" class="MenuBarHorizontal"&gt;
  &lt;li&gt;
      &lt;asp:HyperLink ID="Home" runat="server" NavigateUrl="~/index.aspx"&gt;Home&amp;nbsp;&amp;nbsp;|&lt;/asp:HyperLink&gt;
  &lt;/li&gt;
  &lt;li&gt;
      &lt;asp:HyperLink ID="Products" runat="server" CssClass="MenuBarItemSubmenu"&gt;Products&lt;/asp:HyperLink&gt;
      &lt;ul&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="Groceries" runat="server"&gt;Groceries&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="DepartmentalItems" runat="server"&gt;Departmental Items&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="Electronics" runat="server"&gt;Electronics&lt;/asp:HyperLink&gt;
      &lt;ul&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="Mobiles" runat="server" NavigateUrl="~/itemsDisplayPage_aspx/itemsDisplayPage.aspx?typeOfItem=mobiles"&gt;Mobiles&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="Laptops" runat="server" NavigateUrl="~/itemsDisplayPage_aspx/itemsDisplayPage.aspx?typeOfItem=computers"&gt;Laptops &amp;amp; Computers&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="Accessories" runat="server"&gt;Accessories&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;/ul&gt;      
      &lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="Kitchen" runat="server"&gt;Kitchen Items&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="HyperLink6" runat="server"&gt;Home Appliances&lt;/asp:HyperLink&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:HyperLink ID="HyperLink7" runat="server"&gt;Fasion&lt;/asp:HyperLink&gt;&lt;/li&gt;
    &lt;/ul&gt;     
  &lt;/li&gt;
  &lt;li&gt;&lt;asp:HyperLink ID="AboutUs" runat="server" NavigateUrl="~/Restaurant.aspx"&gt;|&amp;nbsp;&amp;nbsp;Restaurant Offers&amp;nbsp;&amp;nbsp;|&lt;/asp:HyperLink&gt;&lt;/li&gt;
  &lt;li&gt;&lt;asp:LinkButton ID="cmdMedicine" runat="server"&gt;Buy Medicines&amp;nbsp;&amp;nbsp;|&lt;/asp:LinkButton&gt;&lt;/li&gt;
  &lt;li&gt;&lt;asp:HyperLink ID="FleaMarket" runat="server" NavigateUrl="~/fleaMarket/fleaBazaar.aspx"&gt;Flea Market&amp;nbsp;&amp;nbsp;|&lt;/asp:HyperLink&gt;&lt;/li&gt;
  &lt;li&gt;&lt;asp:HyperLink ID="SellItems" runat="server" NavigateUrl="~/fleaMarket/hostItem.aspx"&gt;Sell Items&amp;nbsp;&amp;nbsp;|&lt;/asp:HyperLink&gt;&lt;/li&gt;
  &lt;li&gt;&lt;asp:HyperLink ID="WhyUS" runat="server"&gt;Why Us&amp;nbsp;&amp;nbsp;|&lt;/asp:HyperLink&gt;&lt;/li&gt;
  &lt;li&gt;&lt;asp:HyperLink ID="Payment" runat="server"&gt;Payment&amp;nbsp;&amp;nbsp;|&lt;/asp:HyperLink&gt;&lt;/li&gt;
  &lt;li&gt;&lt;asp:HyperLink ID="Contact_Us" runat="server" NavigateUrl="~/ContactUs.aspx"&gt;Contact Us&lt;/asp:HyperLink&gt;&lt;/li&gt;

&lt;/ul&gt;


    &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;
        &lt;asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"&gt;

        &lt;/asp:ContentPlaceHolder&gt;
 &lt;div class="footer"&gt;
      &lt;asp:TextBox ID="txtSubscribe" runat="server"&gt;&lt;/asp:TextBox&gt;
      &lt;asp:Button ID="cmdSubscribe" runat="server" Text="Subscribe" /&gt;&lt;br /&gt;
  &lt;div style="text-align:center; font-size:small;"&gt;
   &lt;a href="#"&gt;About Us&lt;/a&gt;&amp;nbsp;|&lt;a href="#"&gt;Payment Options&lt;/a&gt;&amp;nbsp;|&lt;a href="#"&gt;Terms &amp;amp; 
      Conditions&lt;/a&gt;&amp;nbsp;|&lt;a href="#"&gt;Return Policy &lt;/a&gt;&amp;nbsp;|&lt;a href="#"&gt;Privacy Policy&lt;/a&gt;&amp;nbsp;&amp;nbsp;©TriceDeals.Com 
      2011.
    &lt;/div&gt;
    &lt;!-- end .footer --&gt;&lt;/div&gt;
  &lt;!-- end .container --&gt;&lt;/div&gt;
  &lt;asp:ContentPlaceHolder ID="AfterFooter" runat="server"&gt;


  &lt;/asp:ContentPlaceHolder&gt;
  &lt;script type="text/javascript"&gt;
      var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", { imgDown: "SpryAssets/SpryMenuBarDownHover.gif", imgRight: "SpryAssets/SpryMenuBarRightHover.gif" });
&lt;/script&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>this is my master page...i have a drop down navigation in my site which i have placed in master page...so now the problem is "the dropdown property of the navigation menu works properly in some of the pages and does not work in some oter...why does this happen??if i do not use the master page the menu work in all the pages.</p>
