Link to home
Start Free TrialLog in
Avatar of HLRosenberger
HLRosenbergerFlag for United States of America

asked on

how to handle click of a tab

In Javascript, how do I handle/hook a click event on a tab?  This is ASP.NET TabPanel.
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Use onclientclick event, For sample code check:
http://stackoverflow.com/questions/7684551/pass-parameter-to-js-function-of-tabcontainer-onclientclick
Note: If this event return false then only javascript event executes, but if it returns true btoh javascript event and .NET server click event execute.
ASKER CERTIFIED SOLUTION
Avatar of Monica P
Monica P
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HLRosenberger

ASKER

Thanks!