Geeks Talk

Prepare for your Next Interview




Validator control and server side validation

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 ...


Go Back   Geeks Talk > Web Development > ASP.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-17-2007
Junior Member
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
anees31 is on a distinguished road
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?
Reply With Quote
The Following User Says Thank You to anees31 For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 02-16-2008
Junior Member
 
Join Date: Feb 2008
Location: hyderabad
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
shilu is on a distinguished road
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
Reply With Quote
  #3 (permalink)  
Old 03-28-2008
Junior Member
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
subhadeep2008 is on a distinguished road
Smile Re: Validator control and server side validation

Quote:
Originally Posted by anees31 View Post
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?
What do you exactly wanna do? I suggest you to remove the one you do not want.
Reply With Quote
  #4 (permalink)  
Old 06-03-2008
Expert Member
 
Join Date: Dec 2007
Location: Pune
Posts: 139
Thanks: 0
Thanked 6 Times in 6 Posts
peeyush_jain is on a distinguished road
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
Reply With Quote
Reply

  Geeks Talk > Web Development > ASP.NET


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 02:03 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved