Click here to Skip to main content
16,020,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using multiple ajax Tabs with user control of (ascx)

I want to set focus on selected tab after post back
How can i manage it???

For example (5 User Controll like documents,next of kin,dependents etx)
I have placed on different tabs like
1) tab For Documents
2) tab For Next of kin and so on
Posted

1 solution

Hello,

Have you tried to store a Id of the currently active tab in a ViewState variable?
The ViewState survive a postback (but not a normal "a href"), so you could manage the state over multiple postbacks.

I don't know if this is what you need, but it seems so ;)

Best regards and have a nice day,
Stops
 
Share this answer
 
v2

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