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 Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?

1 Answers  


Project Architecture (3tier, n-tier)

1 Answers   Syntel,


Define the types of configuration files.

0 Answers  


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

0 Answers   Prompt Softech,


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

0 Answers   Siebel,


What is the concept of view state in asp.net?

0 Answers  


What is smpte vc-1?

0 Answers  


What is application session?

0 Answers  


Why is global asax is used?

0 Answers  


When Garbage Collector runs in an Application? 1)Application is running form more than 30 min. 2)On every 1/4th milisecond 3) Randomly 4) Application is running on low of memory

2 Answers   PCS,


How many types are there session

5 Answers   TCS,


What is the first name space in .netF/W heirarchy

3 Answers   Wipro,


Categories