开发者

LinkButton not working due to validation control field

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜