"onclick event" would be: - in the aspx's code? - on the client?
if it is in the code, then any running of that postback code is going to cause a page reload, and consequent defaulting to the first tab by default.... if you want the new page reload to stay on the current tab, then you would emit some client script (using Page.ClientScript) object to call the Tabs' event that will switch the tab On Jul 23, 9:49 am, noorul <noorulameen...@gmail.com> wrote: > I have five div tags(jquery tabs) in my aspx page...Inside the second > div(tab) i have a button. onclick of that buttton the second div(tab) > should be switched..instead of that the first tab is coming.. How can > i switch the tab in code behind(Inside button onclick event)...