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>
Hello Neil,
Thank you for the video provided, it is a very helpful way on knowing the behavior.
Sincerely,Duane HoytDeveloper Support Engineer, MCTSInfragisticshttp://ko.infragistics.com/support
Attached video of previously explained issues.
Yes, I do see the the child2 menu item when I get back from the post. Child2 is not able to be highlighted when I hover over it after I return from the post.
I can't really give you a screen shot of the sub menu disappearing. I would say that the issue you experienced with the menu not highlighting is related to the sub menu disappearing. The only difference is when I hover over the child menu that didn't get highlighted... the sub menu collapses. Either way, they are both issues that need to be resolved.
Thanks,
Neil
Hello,
I wasn't sure I was able to get the menu item to disappear. When clicking on Child2 are you able to see the menu item before hovering over it or once you hover it after the postback?
For example when I click on Child2, it will perform a postback and then I'm unable to highlight Child2 when hovering. I can see the menu item though labeled as Child2.
Please provide a screenshot of the issue in this thread. Thank you.
Sincerely,Duane HoytDeveloper Support EngineerInfragisticshttp://ko.infragistics.com/support
Hey Duane, thanks for the reply.
I was actually not trying to get the node to stay highlighted as I was showing in firefox. I was just using the two examples to illustrate that the control was not working properlly out of the box. The actual problem that I'm having in my application is a little different. When a child menu item is clicked and a post back occurs, the same menu item will disappears when I try and hover over it after the post back.
Try my previous example with three child nodes. Click on "Child2" then hover over "Child2" after the post returns.
<ig:DataMenuItem Text="Child" />
<ig:DataMenuItem Text="Child1" />
<ig:DataMenuItem Text="Child2" />
Also just fyi, I don't particularity care about firefox... I mostly need this to work in ie.