Click here to Skip to main content
13,046,087 members (63,087 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i have one tab container in which have tabpanel1,tabpanel2,tabpanel3,tabpanel4 when user selects the tabpanel4 it should open tabpanel1 . i tried onClientActiveTabChanged in javascript code but its not working.
Posted 13-May-13 0:17am
raji 2429
Updated 14-May-13 17:52pm
CHill60 13-May-13 6:39am
That would override the tab behaviour? You appear to be saying that whatever tab the user selects always activate the first one. So your user will never see the other 3 tabs??? I'm sure that is not really what you mean. Use the Improve question link to make your question clearer and post the code that you have tried so far

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think that you want to say that when user clicks on any tab it opens the 1st tab.
The reason behind it which you may check is-
-DO You have set tabpanel1 as active tab in tab property?
-When you are clicking tabpanel there is a post back firing?
-it initializes your page again and sets the active tab as tabpanel1?

if these are the things

have the tab container in update panel(for partial postback) to avoid post backs.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 15 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100