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 how caching in asp.net 2.0 is different from caching in asp.net 1.1?

0 Answers  


What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?

1 Answers   Syntax Softtech,


What r all the controls in ASP.NET ?

3 Answers  


Explain about the Class view window?

0 Answers  


Distinguish between Server-side and Client-side code?

0 Answers   Siebel,






Briefly describe the role of global.asax?

0 Answers  


Can we make a class with class with same;suppose public class abc { public class abc { } }

1 Answers  


What is cookieless session id explain in brief?

0 Answers  


what are Httpmodule and HttpHandler?

3 Answers   Microsoft, Wipro,


What is diff. Between abstract class and an interface?

0 Answers  


What is the base class of .NET?

6 Answers  


How to consume a webservice in a windows application without adding through the web reference?

1 Answers   247Customer,


Categories