Can I trigger/call a validator explicitly?

2 posts, 0 answers
  1. Richard
    Richard avatar
    27 posts
    Member since:
    Sep 2008

    Posted 29 Sep 2009 Link to this post


    I have a client-side situation where I need to control when the <asp:CustomValidator> ClientValidationFunction is called. Is there any way to disable the default (implicit) call and then call it explicitly from javascript?

    Thanks for any tips!
  2. Yana
    Yana avatar
    5040 posts

    Posted 30 Sep 2009 Link to this post

    Hi Richard,

    You can set EnableClientScript of the custom validator to false but then you can enable it only on server.  CustomValidator cannot be manipulated on the client.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top