Results 1 to 2 of 2

Thread: Help needed in performing validation

  1. #1

    Help needed in performing validation

    hi friends

    i should do server side validation on two controls
    by making use of if condition in aps.net 1.1

    i should not use any validation controls instead i should make use of
    if..else condition for performing validation..
    i have a textbox and a drop down list box..
    text box ha new entry
    dropdown list box has selected items present in it
    now i should write the coding for validating as such user
    can enter new one or can select one...

    please suggest me the solution for this

    regards,
    gayathri


  2. #2
    Junior Member
    Join Date
    Jun 2006
    Answers
    2

    Re: Help needed in performing validation

    Hi,

    I think, you need to validate whether the textbox value is different from the previously posted value.

    For this you need to create a custom control inherits Textbox and have to override the methods which are defined in the IPostbackDataHandler interface.

    And same for the Combobox.


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