This is a migrated thread and some comments may be shown as answers.

Need help with RadTabStrip TabClick Event

0 Answers 33 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jinisha
Top achievements
Rank 1
Jinisha asked on 06 Dec 2012, 06:47 PM
Hi

I need help with RadTabStrip. I have 4 tabs...Tab 1, Tab 2, Tab 3 and Tab4. By default the users see Tab 1. Once the user changes the Tab 1 to any other tab...I need to save the data from the 1st tab in database. 

If the users click Tab 3. If Tab 2 is missing information I need to redirect the user to Tab 2. 

Currently I am using TabClick Event to save the data in database if the user is coming from Tab 1..it also save some info for Tab 2. If Tab 2 is missing some information I display javascript alert and SetActiveTab  (i.e; ...set_selectedIndex(2) to 2...but the problem is I get redirected to Tab 3 first and then to Tab 2....how can i cancel Tab 3 redirect using server side code.

Jinisha

No answers yet. Maybe you can help?

Tags
Ajax
Asked by
Jinisha
Top achievements
Rank 1
Share this question
or