Treeview and Required Field Validators

3 posts, 1 answers
  1. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 01 Oct 2008 Link to this post

    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. Answer
    Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 Oct 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 02 Oct 2008 Link to this post

    Oh geez. Of course!
    Colour me a bright shade of red. Brain fart I guess.

    Thanks a lot. It's fantastic.





    mat.t.
Back to Top