Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Ultrawebmenu
posted

Hi,

Ultrawebmenu gives script error in IE8. we are using  Infragestics version 8.3.

on click of any menu item  shows a script error at below line:

function igtbl_removeState(stateNode)
{
    while(stateNode.childNodes.length > 0)

Regards,

Arati.

  • 275
    posted

    download the hot fix, this fixed that error but now my menus are opening going up past the top of the page, not down below the clicked menu  :(

  • 28407
    posted

    HI,

    I could not reproduce.

     Can you tell me what you want your menu click to accomplish?

     Here is my Aspx page - run this thru your system

    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

    <%@ Register Assembly="Infragistics35.WebUI.UltraWebNavigator.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
        Namespace="Infragistics.WebUI.UltraWebNavigator" TagPrefix="ignav" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <ignav:ultrawebmenu runat="server" JavaScriptFilename=""
                JavaScriptFileNameCommon="" onmenuitemclicked="Unnamed1_MenuItemClicked">
                <islandstyle backcolor="LightGray" borderstyle="Outset" borderwidth="1px"
                    cursor="Default">
                </islandstyle>
                <hoveritemstyle backcolor="DarkBlue" cursor="Default" forecolor="White">
                </hoveritemstyle>
                <images>
                    <submenuimage url="ig_menuTri.gif" />
                </images>
                <ItemStyle Cursor="Default" />
                <Items>
                    <ignav:Item Text="Top Item">
                        <Items>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                        </Items>
                    </ignav:Item>
                    <ignav:Item Text="Top Item">
                        <Items>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                        </Items>
                    </ignav:Item>
                    <ignav:Item Text="Top Item">
                        <Items>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                            <ignav:Item Text="Sub Menu Item">
                            </ignav:Item>
                        </Items>
                    </ignav:Item>
                </Items>
                <disabledstyle font-names="MS S***rif" font-size="8pt" forecolor="Gray">
                </disabledstyle>
                <levels>
                    <ignav:Level Index="0" />
                </levels>
                <SeparatorStyle BackgroundImage="ig_menuSep.gif" CssClass="SeparatorClass"
                    CustomRules="background-repeat:repeat-x; " />
    <ExpandEffects ShadowColor="LightGray"></ExpandEffects>

    <MenuClientSideEvents InitializeMenu="" ItemChecked="" ItemClick="" SubMenuDisplay="" ItemHover=""></MenuClientSideEvents>
            </ignav:ultrawebmenu>
        </div>
        </form>
    </body>
    </html>

    Code Behind

    using System;
    using System.Configuration;
    using System.Data;
    using System.Linq;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Xml.Linq;

    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void Unnamed1_MenuItemClicked(object sender, Infragistics.WebUI.UltraWebNavigator.WebMenuItemEventArgs e)
        {

        }
    }