Fire page validations,only on desired button click-event.
-
On my aspx page,I have applied a MasterPage which contains a user control with a link button inside it. My aspx page has submit button and some validation controls. Somehow,I want it to fire validations only on the click event of submit button, but it is also checking the validations on the click of link button. How should I avoid this. Kindly guide. Thank You.
-
On my aspx page,I have applied a MasterPage which contains a user control with a link button inside it. My aspx page has submit button and some validation controls. Somehow,I want it to fire validations only on the click event of submit button, but it is also checking the validations on the click of link button. How should I avoid this. Kindly guide. Thank You.
Turn off the CausesValidation[^] property value.
Navaneeth How to use google | Ask smart questions
-
Turn off the CausesValidation[^] property value.
Navaneeth How to use google | Ask smart questions
-
anada8886 wrote:
but it's still not working.
Are you getting any error ? or what ?
cheers, Abhijit
-
anada8886 wrote:
but it's still not working.
Are you getting any error ? or what ?
cheers, Abhijit
In the widget on master page(on click of link button),I am allowing the user to log in. whereas in my aspx page I am allowing user to register(these input fields are having validations). If the user is already registered then he can login through the widget which is on master page. But when I try to log in ,it is showing me validation errors,since the input fields for registration on the same page are left blank. I dont want it to check validation when I try to log in. Thanks.