.NET verification control [Validation Server Control] experience

xiaoxiao2021-03-05  19

Some versions and common problems of the Validation Server Control] under NET

Hipster seeing may laugh, but here, you have to get the younger brother for a whole 3 days, and you can share it with you here.

1. After the SP1 is played, the submission on the page does not respond, 呜呜, this is because SP1

ASPNET_CLIENT / SYSTEM_WEB / 1_1_4322WebuiValidation.js Some functions have changed, and I don't talk about it. I don't have much analysis online. The solution is the solution is that 1 JS function that performs normal pages and abnormal pages.

If the content is different, it is generally a new version in the function validatoronSubmit (), which is a new version, which is solved with the corresponding js from wwwroot folder.

2 EnableClientScript = "false" reflected in the server side, Well, this problem is that I am fine.

It's good to use IsValid to make judgments on OnClick.

Microsoft, forgive me, this two days, you have a thousand people ...

转载请注明原文地址:https://www.9cbs.com/read-38857.html

New Post(0)