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

Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


what is SAP fullform

161 Answers   A3Logics, Amazon, DFD, Federal Mogul, Hol Info, IBM, Infosys, Jai Ganesh, Kesri Metal, Lupin, Microsoft, RPG, SAP Labs, SRS Group, TCS, Videocon,


What is the application pool?

0 Answers  


If there are two web.config files in a application which config files will get priority?

5 Answers  


what is the differance between native code & managed code?

5 Answers   Microsoft,


Describe how ASP.NET maintains process isolation for each Web application?

0 Answers   B-Ways TecnoSoft,


What is customer control and user control?

1 Answers   Perot Systems,


What is s2s tracking?

0 Answers  


Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

0 Answers  


how to write code for role based security

2 Answers  


What are skins?

1 Answers  


Is post back property in asp net?

0 Answers  


Categories