Under certain conditions, you may need to avoid verification. For example, if there is a "cancel" button or a navigation button on the page, you can send the page even if the user does not enter all the verification fields correctly. You can set an ASP. NET Server Control to avoid client and server verification, not just client verification.
Disable server and client Verification
You can specify a separate control on the Web forms page to send back without triggering a verification check.
Avoid verification for specific controls
You can also disable the verification control so that it is not displayed on the page at all and does not use the verification control.
Disable verification controls
- VerifyEnabledSet propertyFalse.
Disable client verification only
If you want to perform verification on the server without performing client verification, you can set the independent verification control to not generate client scripts. This is especially useful if dynamic updates on the client cause page layout problems, or if you want to execute some server code before verification.
Disable client Verification
- VerifyEnableClientScriptSet propertyFalse.