Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 14-May-13 17:52pm
v3
Comments
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

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900