In ASP.net, is there a way to give a value to a validator in your .ascx file from the related .ascx.cs file?

76 Views Asked by At

I'm trying to get a web page to show an error without resetting itself, currently I'm doing this through a try catch block, is there any way to have the C# give a true or false value to an asp:CustomValidator control?

0

There are 0 best solutions below