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
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|
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|
Answer / guest
Write the code for validations in the button control.
|Is This Answer Correct ?||0 Yes||0 No|
How to execute a stored procedure.and how to call it form a asp page
How many Directives r in ASP.NET?
Explain the concept of event bubbling in ASP.NET?
Can i have both C# and vb.net code in same assembly?how?
I’m having some trouble with cas. How can I diagnose my problem?
Which two new properties are added in asp.net 4.0 page class?
How to check the end of the record in Datareader?
how to use web services with code?(with example code)
How many column in table of sql server?
How do you register a .NET assembly?
What are the advantages and disadvantages of viewstate ?
can we pass coditions in swtich case?