Show ASP.NET validation summary in jQuery modular message

I created an ASP.NET web form that uses standard ASP.NET validation. I would like the error summary to appear in the jQuery UI Modal Message text message, as well as below the actual form.

Is it possible to execute the script if the check detects an error?

+3
source share
4 answers

You can block or override the ASP.net page check function. This eliminates the need for an additional CustomValidator.
It describes how to do this .

div, . , div .

+2

, GeReV , - : .

: , . .

+1

CustomValidator. ClientValidationFunction javascript, jQuery.

Just for reference, here is an in-depth look at how you can manipulate client-side validators.

0
source

You can put the verification messages hidden divso that they fill in divsome errors. Then manually show that the mod that defines the content will be the content div.

0
source

Source: https://habr.com/ru/post/1749676/


All Articles