Category / Section
How to prevent postback on click events of each menu bar?
1 min read
You can prevent postback while clicking on the root menu by calling client side event on each root menu item which will return false value. Please refer the below code snippet which illustrates this:
$cc1:MenuItem ID="SDate" Look="lookcommon" ClientOnItemSelect="Dummy()" Text="Server-Date"$
//Here we used "$" symbol instead of "<".
function dummy()
{
return false;
}