Hi,
i tried nearly everything but i dont find the way how to avoid postbacks on a click on unlinked menu items or parent items.
I will describe it on an example to make it clear. Look at this menustrukture:
Options
If the user press "Options" or "More" there should be no postback because their is no tag, no url and nothing else defined. So the page will reload and it will happen nothing.
How is it possible to disable this behavior? I tried to step though the show cases but i was not able to find the tag or trick to do so.
Thank you very much
Holger
I need to disable the postback on the code behind. When the user selects a top level node, I want nothing to happen. How would I go about doing that. I have the following code but nothing in the event args gives me access to deny postback:
Dim newItem As Infragistics.WebUI.UltraWebNavigator.Item
cookieCols = Request.Cookies
Select Case e.Item.Text
Case Is = "Logout"
Dim e1 As New CommandEventArgs("", System.DBNull.Value)
End Select
Case Is = "Reports" ?
Hello,
Thanks for writing. I am not sure you can disable postback event at all in the postback event handler, since the postback has already happened (this is way the postback event handler was called in the first place).
Is the solution with javascript suggested above applicable in your case? If not, could you please tell us a little bit more information about your setup - this will surely provide additional clues.