Results 1 to 4 of 4

Thread: Validator control and server side validation

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Answers
    1

    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?


  2. #2
    Junior Member
    Join Date
    Feb 2008
    Answers
    6

    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


  3. #3
    Junior Member
    Join Date
    Mar 2008
    Answers
    2

    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.


  4. #4
    Expert Member
    Join Date
    Dec 2007
    Answers
    138

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact