Hi, I've put a WebDataMenu on a MasterPage and WebDataMenu1_ItemClick doesn't happen.
Default.aspx page (in the attachment) works as expected.
Home.aspx page displays two menus, one from masterpage and one from the page itself. No ItemClick happens in code behind.
What is going wrong?
Thank You
Claudio Mellina
Hi GIOCOR,
Thank you for the reply. I ran your sample and indeed the master page WebDataMenu's handlers were not firing. I tested the scenario with a WebDataMenu on a different page and it operated as expected.
What I did in the end was to delete the WebDataMenu from the master page and copy and paste the one from your Home.aspx file (I just changed the item text and click handler name) and that resolved the matter. Can you please try this setup to see if it helps.
Please contact me if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Have You had a look at the sample attached? Does it happens to You also? Do You see something wrong in code?
Another possibility:
There is a known bug in the most recent service release. If the WebDataMenu is inside a WebSplitter pane, the WebSplitter prevents the ItemClick event from firing.
You should enable Postback on ItemClick. For instance:
<ig:WebDataMenu ID="WebDataMenu1" runat="server"> <AutoPostBackFlags ItemClick="On" /> </ig:WebDataMenu>
Please tell me if this helps.
Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support