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

Treeview and Required Field Validators

2 Answers 58 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
towpse
Top achievements
Rank 2
towpse asked on 01 Oct 2008, 09:03 PM
I hope someone else has run into a similar issue in hopes that they can help me with a solution.

I have a page with a treeview and required field validators attached to some text boxes within a grid.

When I try to expand a node in teh tree, if I haven't yet satisfied the requirements of the validators of the grid coumn text boxes, then the post back on the node expand is cancelled.

Can anyone think of a work around?


Regards.

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 02 Oct 2008, 07:36 AM
Hello Matt,

Simply set the CausesValidation property of the treeview to false.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
towpse
Top achievements
Rank 2
answered on 02 Oct 2008, 01:33 PM
Oh geez. Of course!
Colour me a bright shade of red. Brain fart I guess.

Thanks a lot. It's fantastic.





mat.t.
Tags
TreeView
Asked by
towpse
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
towpse
Top achievements
Rank 2
Share this question
or