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

Problems with RequiredFieldValidator

3 Answers 62 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 28 Nov 2011, 04:52 PM
I have 3 tab.
In all tabs I have RequiredFieldValidadtor.
Steps:
1- fill all fields of Tab1.
When click to change Tab2 doest not work.
If i comment RequiredFieldValidator of tab2 , is work.

What is the problem?

3 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 29 Nov 2011, 05:54 PM
Hello Julieta,

The problem is that the tabstrip checks all the validators inside the tabstrip, not only the ones in the selected tab.

If I understand correctly, you want to allow navigation to another tab, only when the validators for the current one don't raise an error. I've attached a sample page, showing how you can do that.

Regards,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
July
Top achievements
Rank 2
answered on 29 Nov 2011, 08:38 PM
ohh thanks!
I will try that
0
July
Top achievements
Rank 2
answered on 30 Nov 2011, 04:06 PM
Yes!!! this  work!!!!!!!!!1
Thankas!
Tags
TabStrip
Asked by
July
Top achievements
Rank 2
Answers by
Bozhidar
Telerik team
July
Top achievements
Rank 2
Share this question
or