It looks as if eventargs._props[1] = 0; works in FireFox4 but does not work in IE8. Any help would be appreciated. Thanks!
Hello jdymond,
I’ve been looking into this and came up with the following solution.
In the Item click event of the WebExplorerBar make a check if the selected item has any children. If it doesn’t then it’s not the header but a child item from the categories. Then just do a manual postback for it . Here's an example:
if (!sender.get_selectedItem().hasChildren()) {
__doPostBack('WebExplorerBar1\',\'\')', 0);
}
I hope this solution will work for your scenario. If you need further assistance don’t hesitate to ask.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
I am unable to run it because it is using Framework 4.0 and is in C# but I looked at the code and control properties and understand it 100%. I modified my project and it canceled the PostBack. However, we will need to trigger a PostBack for the children. How can I achive this on the Server as we have code behind needed for any of the child item click events? It simply does not need PostBacks when Expanding or Colapsing the menus only the children. Thanks!
Hello jdymond ,
Were you able to reproduce the issue with the sample I provided?
In your project do you initialize the postbacks for the child elements with the AutoPostBackFlags or are you setting them manually on the client side events?
We are using it as a Navagation menu so it does not make sens to have to PostBack when a Group or Root item is clicked.
If you’re using autopostback in you project this will not work.