Hi karngu, Here is the one of my tab: Can you send me the javascript to select this tab..
<div id="tabs"> <ul> <li><a href="#tabs-1" style="font- size: 12px">All</a></li> </ul> <div id="tabs-1"> </div> </div> On Jul 24, 1:38 am, karnqu <jake.al...@gmail.com> wrote: > like morningZ said your probably looking for this... > ClientScript.RegisterStartupScript(typeof (<<page class name>>), > "startupTabScript", "<<javascript to select correct tab>>", true); > > The pain is knowing what the last tab they selected was. But in your > case if the button they clicked was on that tab then it sounds pretty > straight forward. > > On Jul 23, 1:34 pm, MorningZ <morni...@gmail.com> wrote: > > > > > "onclick event" would be: > > > - in the aspx'scode? > > - on the client? > > > if it is in thecode, then any running of that postbackcodeis 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 > > theTabs' event that will switch the tab > > > On Jul 23, 9:49 am, noorul <noorulameen...@gmail.com> wrote: > > > > I have five div tags(jquerytabs) 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 incodebehind(Inside button onclick event)...