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

Explain server control extensibility with reference to asp.net 2.0 ?

0 Answers  


What base class do all Web Forms inherit from?

9 Answers  


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

0 Answers  


Explain why datareader is useful?

0 Answers  


What are the HTML server controls in ASP.NET?

0 Answers   MindCracker,


difference between <connectionstring> <Appsetting>

6 Answers   VebTel,


What role “#&&” plays in a querysting?

0 Answers  


Turn Off ASP Session State on an IIS 5.1 Web Site

1 Answers  


What is the use of global.asax file?

0 Answers  


What are the advantages and disadvantages of viewstate ?

1 Answers  


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

0 Answers  


Explain automatic memory management in .net.

0 Answers  


Categories