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

Can I trigger/call a validator explicitly?

1 Answer 46 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Richard asked on 29 Sep 2009, 03:15 PM
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

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 30 Sep 2009, 01:58 PM
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.
Tags
TreeView
Asked by
Richard
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or