Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

jscript Runtime Error :Object required

$
0
0

I am not very sure what I can do to solve this problem, when I debug in vs 2010 , I always get this error when it comes to the menu page.

The code is as seen below in the master page (Site.master):

<% if (HttpContext.Current.User.Identity.IsAuthenticated && authenticationStatus)
{%>

<div class="menu">



<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"
BackColor="#E3EAEB" DynamicHorizontalOffset="2" Font-Names="Verdana"
Font-Size="medium" ForeColor="#666666" StaticSubMenuIndent="10px" Height="22px" >
<DynamicHoverStyle BackColor="#666666" ForeColor="White" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="#E3EAEB" />
<DynamicSelectedStyle BackColor="#1C5E55" />
<Items>
<asp:MenuItem Text="xxx" Value="xxx"
NavigateUrl="xxx.aspx" >

</asp:MenuItem>
<asp:MenuItem Text="aaa" Value="aaa"
NavigateUrl="aaa.aspx">
</asp:MenuItem>
<asp:MenuItem Text="yyy" Value="yyy"
NavigateUrl="yyy.aspx"></asp:MenuItem>

</Items>
<StaticHoverStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
<StaticMenuItemStyle HorizontalPadding="25px" VerticalPadding="2px" ItemSpacing="2px" Font-Bold="true"/>
<StaticSelectedStyle BackColor="#5D7B9D" />
</asp:Menu>
</div>

<% } %>

i assume that the problem lies with the bolded part 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>