开发者

How to use Validation Control Properly in Webpage

I am working on a project in which I have a web page named as Booking. I use validation controls as per requirement. They all work properly.

The Problem is that when user ope开发者_如何学Gon a Booking page and want to move another page without filling any detail. All the validation controls show error message.

How can I stop that?


Set the CauseValidation property of the control you are using to navigate to the other page to false.


Refer to the following for more information about validation:

Validating ASP.NET Server Controls


on the control you use to move to the other page there a CauseValidation proprety that you could set to false.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜