asp.net - Can I use validators, just to show warnings -
In ASP.NET ... Is there any way to show a warning (OK / cancel) msg Can I use the assumptions?
If the user chooses the best .. should continue to submit this page.
I know that the Javascript function can work.
Just before proceeding with javascript, the thought of checking whether or not the valetors will be of any help.
Thanks
define an arbitrary JavaScript function with the CustomValidator.ClientValidationFunction property can do.
& lt; Asp: CustomValidator ... Client validation function = "AwesomeValidator" />
and:
function AwesomeValidator (source, e) {var x; If (value ISBD (E. Vel)) = Confirm ('Are you sure?'); // something with X ...}
and more.
Comments
Post a Comment