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

How many types of sessions are there in asp net?

0 Answers  


One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .

6 Answers   TCS,


What are the new data controls in asp.net 2.0?

0 Answers  


How to convert any string to view state format in asp.net? §ÇÛ짬ªª³ö»Ç¾ö»ÂÇ¿¾»¼»¾ö¼ÉÇöÇÏǼ»Ãö®±ª§°ö«³ -- i want convert this string to view state.

1 Answers   iFlex,


Can you explain what inheritance is and an example of when you might use it?

1 Answers   Sports Interactive,






Disable browser cache for entire ASP.NET website?

0 Answers   HCL,


Is string a value type or a reference type?

13 Answers  


What are the disadvantages of view state / what are the benefits?

2 Answers   Siebel Systems,


How to handle error while project running on live

2 Answers  


What is custom control. What is the difference between custom control and user control ?

1 Answers   Microsoft, Synergy,


What’s the difference between asp.net web forms and asp.net mvc?

0 Answers  


What are the different types of Session state management options available with ASP.NET?

1 Answers  


Categories