Hello i have a Big ASP Page and i must set in every ASP Button this:
CausesValidation="False"
to work. If don't it cant run a codebehind function.
can somebody explain to me why this is so?
Hello i have a Big ASP Page and i must set in every ASP Button this:
CausesValidation="False"
to work. If don't it cant run a codebehind function.
can somebody explain to me why this is so?
It seems you are using Validation controls in your page. Your page must pass the validation before postback to server. Below is the functionality of CausesValidation property:
The CausesValidation property specifies if a page is validated when a Button control is clicked.
Page validation is performed when a button is clicked by default.
This property is mostly used to prevent validation when a cancel or reset button is clicked.