Javascript error on Radmenu

2 posts, 0 answers
  1. Krishna Chaudhary
    Krishna Chaudhary avatar
    13 posts
    Member since:
    May 2010

    Posted 10 Jun 2010 Link to this post

    Hi

    I am facing some issue with Radmenu.
    Each time i move my mouse on the menu i am getting some javascript error as shown in image 1.
    but once i disable the javascript error notification it working fine navigation wise,
    below is the code in the web.config file
    Is i am missing some thing.

    <httpHandlers>  
          <remove verb="*" path="*.asmx" />  
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />  
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />  
          <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />  
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />  
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />  
            
        </httpHandlers> 

    Below is the code for the .aspx page
    <%@ Register TagPrefix="ignav" Namespace="Infragistics.WebUI.UltraWebNavigator" Assembly="Infragistics.WebUI.UltraWebNavigator.v3" %>  
    <%@ Control Language="vb" AutoEventWireup="false" Codebehind="Navigation-Menu.ascx.vb" Inherits="CSC.CorporateAdvisor.Web.Navigation_Menu" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" enableViewState="False"%>  
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>  
    <%--<link href ="../Menu.Default.css"  type="text/css" rel="Stylesheet"/>--%>  
    <link href ="../ProjectStyles.css" type="text/css" rel="Stylesheet"/>  
    <ignav:ultrawebmenu id="UltraWebMenu1" runat="server" SubMenuImage="../ig_common/WebNavigator3/ig_menuTri.gif" 
        CompactRendering="False" ScrollImageTop="../ig_common/WebNavigator3/ig_menu_scrollup.gif" DefaultItemClass="MenuItemClass" 
        ItemSpacingTop="0" ScrollImageBottomDisabled="../ig_common/WebNavigator3/ig_menu_scrolldown_disabled.gif" 
        HoverClass="MenuHoverClass" DefaultIslandClass="MenuIslandClass" ScrollImageTopDisabled="../ig_common/WebNavigator3/ig_menu_scrollup_disabled.gif" 
        DisabledClass="MenuDisabledClass" FileUrl=" " ScrollImageBottom="../ig_common/WebNavigator3/ig_menu_scrolldown.gif" 
        SeparatorClass="SeparatorClass" Width="417px" TopAligment="Center" RenderAnchors="False">  
        <Styles>  
            <ignav:Style Cursor="hand" CssClass="MenuIslandClass"></ignav:Style>  
            <ignav:Style Cursor="hand" CssClass="MenuBarClass"></ignav:Style>  
            <ignav:Style Cursor="hand" CssClass="MenuBarLastClass"></ignav:Style>  
            <ignav:Style Cursor="hand" CssClass="MenuHoverClass"></ignav:Style>  
            <ignav:Style BackgroundImage="ig_menuStandardSep.gif" CssClass="SeparatorClass" CustomRules="background-repeat:repeat-x; "></ignav:Style>  
            <ignav:Style ForeColor="LightGray" CssClass="MenuDisabledClass"></ignav:Style>  
            <ignav:Style CssClass="MenuItemClass"></ignav:Style>  
            <ignav:Style CssClass="MenuItemHoverClass"></ignav:Style>  
        </Styles>  
        <ExpandEffects ShadowColor="DarkGray" Type="Fade"></ExpandEffects>  
        <Levels>  
            <ignav:Level LevelClass="MenuBarClass" Index="0" LevelCheckBoxes="False"></ignav:Level>  
            <ignav:Level LevelHoverClass="MenuItemHoverClass" Index="1" LevelCheckBoxes="False"></ignav:Level>  
        </Levels>  
    </ignav:ultrawebmenu>  
     
    <telerik:RadScriptManager ID="ScriptManager" runat="server"/>  
     
    <telerik:RadMenu runat="server" id="MENUK"   style="float: right"   
        EnableShadows="true" EnableRoundedCorners="false"    
            EnableEmbeddedSkins="false" BorderStyle="None" 
            Font-Bold="false" CssClass="rmItem"   
              
        >  
    </telerik:RadMenu>  
     
     
    <input type="hidden" name="hidMenuId" id="hidMenuId" value=""

    Did i missed something to include .
  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 10 Jun 2010 Link to this post

    Hello Krishna,

    You should remove CssClass="rmItem" from your RadMenu declaration or change it to something else, as the 'rmItem' class is used internally by RadMenu.

    Kind regards,
    Dimitar Milushev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top