Hi guys, ive not been using asp.net along with the AJAX toolkit for long, however I've ran into a small problem and cant seem to find a solution.
I'm attempting to navigate from 'page one' to 'page two' and upon landing on 'page two' for a certain TabPanel from within a TabContainer to be displayed (a different tab from the one set in the ActiveTabIndex property).
MichaelJD
0 Points
9 Posts
AJAX Tabs - Navigation to a certain TabPanel from a different page.
Apr 26, 2012 09:03 PM|LINK
Hi guys, ive not been using asp.net along with the AJAX toolkit for long, however I've ran into a small problem and cant seem to find a solution.
I'm attempting to navigate from 'page one' to 'page two' and upon landing on 'page two' for a certain TabPanel from within a TabContainer to be displayed (a different tab from the one set in the ActiveTabIndex property).
Thanks, any help will be really appreachiated.
P.S : I'm using VB for code behind.
tab tabpanel tabcontainer ajax
breath2k
Contributor
2101 Points
821 Posts
Re: AJAX Tabs - Navigation to a certain TabPanel from a different page.
Apr 26, 2012 09:17 PM|LINK
You could pass a parameter through to the page like so:
And in Page_Load method in code behind:
Select Case Request.QueryString("tab") Case "1" tabName.ActiveTabIndex = 1 Case "2" tabName.ActiveTabIndex = 2 etc End Selecttab tabpanel tabcontainer ajax