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

Tab validation

1 Answer 67 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Milan Gurung
Top achievements
Rank 1
Milan Gurung asked on 15 Jan 2009, 06:13 PM
Hi,

I have 3 tabs in a page. Each tab page has a multiple asp.net controls with required field validators. The problem is -
Although I have filled all required fields in tab1 & clicked second tab, it does not allow me to move to second tab page or third tab page. I found the issue - because second tab page do have controls with validators. 

Now could you please someone hint me how can I move from one tab to another eventhough the tab page you are moving does have validators on it. Basically, the idea is  once all required fields are entered it should allow to move to next tab page and so on. Remember I do have button only at the last tab page. Validation needs to be triggered only on clicking the tab!

Thanks.

Milan G

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 22 Jan 2009, 07:49 AM
Hello Milan,

A possible solution for this case is to set the tabstrip AutoPostBack property to true and the multipage RenderSelectedPageOnly to true. This will prevent the invisible validators from firing.

Kind regards,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TabStrip
Asked by
Milan Gurung
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or