User contro having 4 text boxes given validation controls.
i want to execute validations after the button click event
how it is?
Answer Posted / atish r . jaiswal
If we want the validation to be done after the click event
of the button
we can set the disply property of the validator to dynamic
vaidaton will occur so when user click on button
and not on when user left the field invalid
but as answr above
cause validation property is used to avoid the validation
to occur on some respective buttons
if we want to validate only few controls on page
then we use the valiationgroupproperty to set it with same
name to all controls in group and of the validator
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a viewbag?
What are sharepoint pages?
Difference between using directive vs using statement?
Which is better php or asp.net?
Is viewstate secure?
What can we do with asp.net?
What is _dopostback in asp net?
About CLR, reflection and assemblies?
Explain client side state management system.
How can we make sure that Web API returns JSON data only?
For which does this Codebehind="MyCode.aspx.cs" is relevent to ?
What are the features of asp.net mvc?
What are url fragments?
What is data caching?
How to display validation messages in one control?