开发者

LinkButton not working due to validation control field

开发者 https://www.devze.com 2022-12-25 04:15 出处:网络
In my .aspx page which derives from a master page I have a contact form which uses some validation, such as the RequiredFieldValidator and RegularExpressValidator.

In my .aspx page which derives from a master page I have a contact form which uses some validation, such as the RequiredFieldValidator and RegularExpressValidator.

At top of my page I have a link bar and whenver I am at contact.aspx I can't navigate to the other pages as if 开发者_运维问答that I need to fill in the necessary data so that it satisfies the validator. How can I fix this?


Set the CausesValidation property of the controls in your link bar (I'm assuming they're LinkButtons) to False.

0

精彩评论

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