Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
How to cancel a menuiten.click event
posted

We are using DataMenuItem in Infragistics.Web.UI.NavigationControls for the menu.

When user click a menu item, the code first checks a condition, if the condition is not satisfied, this selected menu item will not work, and a message will pop up.  In my code I will use scriptManager.RegisterStartupScript to popup the message, and I need to cancel the menu click event.  How to do the cancelation of the menu item click?