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


Please Help Members By Posting Answers For Below Questions

What are the types of session in asp.net?

518


What is custom events? How to create it?

612


What are the differences between application object and session object?

485


What is the request flow used for asp.net mvc framework? : asp.net mvc

524


How Session outproc in Sqlserver stored?

2298






Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

503


How does asp.net work?

539


Is it possible to change the index of primary key on table?

400


What is xaml? Are xaml file compiled or built on runtime?

514


What are session cookies?

534


Where is session data stored in asp net?

506


What is a gridview in asp.net?

518


What are the differences between the response.write() and response.output.write()?

525


IN an ASP.NET Web application if there is any error, how can you debug?

577


Where can I get the details on migration of existing projects using various technologies to asp.net?

511