Menu Still Posts Back When Client Side Click Handler Returns false

1 reply. Last post: June 2, 2011 9:44 AM by A Yousif
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
A YousifMember

I had requested this feature for v9 but it still behaves like v8.  Regardless of the ISNet.WebUI.WebDesktop.AutoPostBackMode setting, the menu should not post back if is has a client-side handler assigned and the function returns false.

So, for example, if MainMenuBar.CommandClientSideEvents.OnClick has an event, let's say "OnClick" and this returns false, then no post back should occur.

Right now we achieve our end result by setting AutoPostBackMode using No (no post back) when we use our custom OnClick and then we post back as needed via cmd.OnPostBackClick().  Although this seems unreliable now in v9 per my other menu thread.

All times are GMT -5. The time now is 7:09 AM.
Previous Next