User contro having 4 text boxes given validation controls.
i want to execute validations after the button click event
how it is?

Answers were Sorted based on User's Feedback



User contro having 4 text boxes given validation controls. i want to execute validations after the..

Answer / satish

In 4 Text boxes properties, make the cause validation
property false. And in button click event make the all text
box cause validation property true.

Is This Answer Correct ?    2 Yes 1 No

User contro having 4 text boxes given validation controls. i want to execute validations after the..

Answer / 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

User contro having 4 text boxes given validation controls. i want to execute validations after the..

Answer / guest

Write the code for validations in the button control.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are the features of asp.net mvc?

0 Answers  


How do you secure your connection string information?

0 Answers  


What are different methods of session maintenance in asp.net?

0 Answers  


I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate report/export data in excel. After hosting the site i am not getting any error or such exported excel file. but using the source code from my system it works fine. Could any one tell me why it is happening and what is its solution.

2 Answers  


What does it mean your session has timed out?

0 Answers  






which directive is mandatory in page control

3 Answers   AG Technologies,


Differences between session state and Application state?

6 Answers  


What is the difference between mechine.config and web.config?

0 Answers  


What was the difference between machine.config and web.config files

17 Answers   Assurgent, NIIT, TCS,


what is service contract,operation contract?

2 Answers  


what are the application layers for a distribute application?

0 Answers   Mind Tree,


How to find out what version of asp.net I am using on my machine?

0 Answers  


Categories