How can you perform validation on client side, if the validation controls are Server side?

Questions by veluworld   answers by veluworld

Showing Answers 1 - 9 of 9 Answers

Because the server side validation creates a dynamic javascript to validate the control at client side. You can do it without useing validation cotrol and by writing the dynamic javascript.

  Was this answer useful?  Yes

kirangiet

  • Oct 21st, 2009
 

Two ways you can achieve this.
1) You can use javaScript to validate the data.
2) You can use Validation Controls. (One for Client Side Validation One for Server Side Validation)

Even though Validation controls are Server controls, by default it works on clientside .

To Enable validation on server side set the property EnableClientScript=false (Default is true).

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions