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

    Hi,

    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!
    R
  2. Yana
    Admin
    Yana avatar
    4554 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,
    Yana
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top