Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to allow different kinds of text in textbox based on dropdownlist selecteditem?

How to allow different kinds of text in textbox based on dropdownlist selecteditem?

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pawan Kiran
    wrote on last edited by
    #1

    Hi all, I have Dropdownlist1,Textbox1 The items in Dropdownlist1 are > < = != IS Not Like Based on the selection only i need to enter the text in textbox1 i.,e for > --only numbers       < --only numbers       = --value or Characters    != --Value or Characters    IS --Null Like --Characters how to get all the above.... Regards, Koti.K

    A 1 Reply Last reply
    0
    • P Pawan Kiran

      Hi all, I have Dropdownlist1,Textbox1 The items in Dropdownlist1 are > < = != IS Not Like Based on the selection only i need to enter the text in textbox1 i.,e for > --only numbers       < --only numbers       = --value or Characters    != --Value or Characters    IS --Null Like --Characters how to get all the above.... Regards, Koti.K

      A Offline
      A Offline
      adatapost
      wrote on last edited by
      #2

      set attribute ValidateRequest="false" at page directive.

      A DATAPOST COMPUTER CENTRE (K.V Prajapati)

      P A 2 Replies Last reply
      0
      • A adatapost

        set attribute ValidateRequest="false" at page directive.

        A DATAPOST COMPUTER CENTRE (K.V Prajapati)

        P Offline
        P Offline
        Pawan Kiran
        wrote on last edited by
        #3

        Hi After Make the validaterequest="false" at page tag what i need to write in my page

        A A 2 Replies Last reply
        0
        • A adatapost

          set attribute ValidateRequest="false" at page directive.

          A DATAPOST COMPUTER CENTRE (K.V Prajapati)

          A Offline
          A Offline
          AlexeiXX3
          wrote on last edited by
          #4

          kanu@adatapost wrote:

          set attribute ValidateRequest="false" at page directive.

          What does this have to do with the question??

          Alexei Rodriguez

          1 Reply Last reply
          0
          • P Pawan Kiran

            Hi After Make the validaterequest="false" at page tag what i need to write in my page

            A Offline
            A Offline
            AlexeiXX3
            wrote on last edited by
            #5

            katarukoti wrote:

            validaterequest="false"

            This wont make any difference for you If you want to restrict the values entered into the textbox, use javascript, and additionally you can use a CustomValidator either with a javascript function and/or a server side function to validate the input

            Alexei Rodriguez

            1 Reply Last reply
            0
            • P Pawan Kiran

              Hi After Make the validaterequest="false" at page tag what i need to write in my page

              A Offline
              A Offline
              adatapost
              wrote on last edited by
              #6

              No, nothing.

              A DATAPOST COMPUTER CENTRE (K.V Prajapati)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups