如果验证是在伺服器上执行的,除非发生错误,否则验证控制项不会呈现在网页上,因此不会占用任何空间。
If validation is being performed on the server, validation controls are not rendered to the page unless an error occurs and they therefore take up no space whatsoever.
当在伺服器上验证表单时,验证错误可以显示在控制项旁边。
When the form is validated on the server, validation errors can be displayed next to the controls.
NET伺服器控制项设为略过伺服器和用户端的验证,或只略过用户端的验证。
NET server control to bypass validation on both the server and the client, or just on the client.
应用推荐