Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,081 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,572 people online right now. Registration is fast and FREE... Join Now!




doPostBack Resets AJAX Active Tab Index

 
Reply to this topicStart new topic

doPostBack Resets AJAX Active Tab Index

dstpierre
23 Apr, 2008 - 09:22 PM
Post #1

New D.I.C Head
*

Joined: 18 Apr, 2008
Posts: 11

I currently have a website using the AJAX Tab control that has a grid view in one of the tabs. Sorting is enable, when you click on a column to sort, it does a java script:_doPostBack and changes the activetabindex of the tab control back to the first available tab in the list. Does anyone have any idea how to prevent this? I know on page load functions you can do a...

CODE
if not page.ispostback then
         CODE HERE
         end if


Does anyone have any idea on this one? Thanks!
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 07:41PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month