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
665
Menu Not Highlighting Correctly
posted

Ok so this menu control is doing wacky things out of the box.... I hope that I'm doing something wrong here.

Just to keep things simple, I have an asp.net 3.5 web site with nothing but a WebDataMenu in it. The menu's using the default style. My problem is after a postback, I get some strange behavior. In IE8, when I return from the post and hover over the item that was previously clicked, the highlight is gone. If I move off of the menu and come back it's all good. In firefox, if I perform the same steps, the item clicked stays highlighted. Is there something I'm supposed to do in order for this to work correctly after a postback?

I'm using 2010.1 with the latest service release.

Here's my sample code for default.aspx: ("ItemClick" doesn't need to do anything)

<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <ig:WebDataMenu ID="WebDataMenu1" runat="server" OnItemClick="ItemClick" >
            <Items>
                <ig:DataMenuItem Text="Parent" >
                    <Items>
                        <ig:DataMenuItem Text="Child" />
                    </Items>
                </ig:DataMenuItem>
            </Items>
        </ig:WebDataMenu>
    </div>
    </form>
</body>

 

Parents Reply Children