Prepare for your Next Interview
This is a discussion on Validator control and server side validation within the ASP.NET forums, part of the Web Development category; In one of my project, I used validator control and server side validation also. It works well in my local machine when I click submit button it shows only validator ...
|
|||
|
Validator control and server side validation
In one of my project, I used validator control and server side validation also. It works well in my local machine when I click submit button it shows only validator control message but in my website when I click submit button it shows both validator control message and servier-side validation also.
Why it is happening? |
| The Following User Says Thank You to anees31 For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Validator control and server side validation
Whenever the code is written with in server validate event,then the validation for that control will be performed after the data has been submitted to server.
If the validation has to be performed at the client side,then it's mandatory that the javascript function has to be written and should be assigned for client validation function |
|
|||
|
Quote:
![]() |
|
|||
|
Re: Validator control and server side validation
If you applied validation on text box and that is run at="server" then surly there is clien side validation and server side validation happen
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Server-side Scripting Languages in ASP.NET? | Srikanth | ASP.NET | 4 | 06-23-2008 01:32 AM |
| Getting error - Login failed on server side | Geek_Guest | ASP.NET | 2 | 06-03-2007 03:27 PM |
| MBA From finance side to Software Data warehouse Side | Thulasiprasad | Career Advice | 0 | 05-05-2007 05:33 AM |
| Credit Card Expiry Date validation for Custom Validator | Gopinath1983 | JavaScript | 1 | 03-01-2007 04:46 AM |