Done code in asp.net + jquery
***********************
In my aspx page
I have 3 tabs in the jquery .
tab1 tab2 tab3
If i perform the server side click functionality in tab2 ., after button submit the page getting reloaded again and tab1 content are shown ..
I want to make tab2 to be visible ., after a button click event in tab2..
Thanks
Akila
Loading
Ravishankar SinghPosted Jan 2, 2012, 3:56 PM
Two ways you can achieve your requirement:
1.Use querystring approach.In this approach,on the click of tab,append the querystring so that even if you refresh the page,your tab will display based on the querystring.
e.g if you have tab1 tab2 tab3,then append in query string as tab=1,tab=2 or tab3
2.You can can use session object which can store your selection.so that whenever the page refresh,your session variable will set the tab.
Hope this will help you in solving you issue.