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

Why session is necessary in web application?

731


What is the difference between “Web.config” and “Machine.Config”?

896


List down the sequence of methods called during the page load.

718


What does it mean your session has timed out?

730


How do cookies work?

775


Explain serialization and deserialization?

773


How would you implement inheritance using c#?

780


What is the difference between mvc and asp.net? : Asp.Net MVC

700


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

792


How do u deploy your asp.net application?

800


What is a web based system?

691


Explain the Session state management options available with ASP.NET?

777


What is autopostback in dropdownlist in asp net?

744


what are the web form events available in asp.net?

775


Difference between web user control and web custom control?

688