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

Validation for every single RAD TAB in RAD TAB STRIP

3 Answers 147 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Manivannan
Top achievements
Rank 1
Manivannan asked on 13 Feb 2012, 12:57 PM
Hi All,

I have a tabstrip with 5 tabs 
I need validation group for every single TABs.
I want to acheive the below result

When i click on the second tab, only the FIRST tab needs to be validated
When i click on the third tab, only the SECOND tab needs to be validated and so on.

and  If i'm in second tab, and clicked the FIRST tab, i dont want to consider whether SECOND tab is validated or not, i just want to move to FIRST tab

Help me out of this guys

3 Answers, 1 is accepted

Sort by
0
Manivannan
Top achievements
Rank 1
answered on 13 Feb 2012, 01:22 PM
I have achieved one half

  • When i click on the second tab, only the FIRST tab needs to be validated
  • When i click on the third tab, only the SECOND tab needs to be validated

I changed the ValidationGroup for the RADTABSTRIP at every TAB CLICK.

(i.e):

Initially RADTABSTRIP  's validation group will be FIRST TAB.
On the server side of the second tab click, i changed the validation group to second tab
On the server side of the third tab click, i changed the validation group to third tab  and so on..

But i cant go back to first and second tab, when i was in third tab. It shows the validation error.

How can i overwrite the validation in the previous tabs click ?????

0
Shinu
Top achievements
Rank 2
answered on 13 Feb 2012, 02:41 PM
Hello,

Take a look into the following Demo.
TabStrip / Validation Groups

-Shinu.
0
Manivannan
Top achievements
Rank 1
answered on 14 Feb 2012, 03:23 AM
HI Shinu,

Thanks for you reply.

Earlier using the same example i got thru half a way, as you see my above reply.

TabStrip / Validation Groups 

In this scenario, 

if i'm in My Account tab, i wanna move to Products tab, without any validation.

if i'm in Administration tab, i wanna move to My Accounts, Products without any validation

But this functionality is not there in the example.

(i.e) In short, i want few tabs to validate and few tabs not

Any idea about how can i achieve it.??
Tags
TabStrip
Asked by
Manivannan
Top achievements
Rank 1
Answers by
Manivannan
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or