开发者

Cause validation = true not firing server button click event

I have two asp.net buttons in my page.If i make button cause validation false then am able to fire button click event on server side but not able to validate text box value开发者_如何转开发s(but i need to validate text boxes) using required field validator.

Thank you very much...


If you want your form to be validated, you need CausesValidation to be true.

For the server side event handler to run, the form needs to be valid, according to the validators you have setup.

Can you post the page markup (including validators), so we can see the issue?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜