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. Dropdown binding in client side

Dropdown binding in client side

Scheduled Pinned Locked Moved ASP.NET
questiondatabasewpfwcfhelp
5 Posts 4 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.
  • N Offline
    N Offline
    NICE TO MEET
    wrote on last edited by
    #1

    i am using 2 dropdown controls, if the first dropdown's selected index changed time call a method and bind the values in client side, it is displaying fine in the second dropdown control, but while save click i am not getting the selected value from the second dropdown control, how can i solve the problem, also what is the property AutoPostBack will do in the dropdown control Thanks in Advance

    -

    _ M 2 Replies Last reply
    0
    • N NICE TO MEET

      i am using 2 dropdown controls, if the first dropdown's selected index changed time call a method and bind the values in client side, it is displaying fine in the second dropdown control, but while save click i am not getting the selected value from the second dropdown control, how can i solve the problem, also what is the property AutoPostBack will do in the dropdown control Thanks in Advance

      -

      M Offline
      M Offline
      mikailcetinkaya
      wrote on last edited by
      #2

      Use a hidden field on form and in client script code put value into it (dropdown client onSelectedChanged event)

      Mikail Çetinkaya . The C# DEveloper

      N 1 Reply Last reply
      0
      • N NICE TO MEET

        i am using 2 dropdown controls, if the first dropdown's selected index changed time call a method and bind the values in client side, it is displaying fine in the second dropdown control, but while save click i am not getting the selected value from the second dropdown control, how can i solve the problem, also what is the property AutoPostBack will do in the dropdown control Thanks in Advance

        -

        _ Offline
        _ Offline
        _AK_
        wrote on last edited by
        #3

        Autopost back means that the page will be posted back to the server on selection change event of the drop down list and probably that would be the cause of your problem also.

        Best Regards, Apurva Kaushal

        1 Reply Last reply
        0
        • M mikailcetinkaya

          Use a hidden field on form and in client script code put value into it (dropdown client onSelectedChanged event)

          Mikail Çetinkaya . The C# DEveloper

          N Offline
          N Offline
          NICE TO MEET
          wrote on last edited by
          #4

          if i put the hiddenfield means when the user changes the second dropdown i am not getting the value

          -

          E 1 Reply Last reply
          0
          • N NICE TO MEET

            if i put the hiddenfield means when the user changes the second dropdown i am not getting the value

            -

            E Offline
            E Offline
            enjoycrack
            wrote on last edited by
            #5

            Nope..I think he means that when the seecond dropdown value changed, you have to get the changed value and put it into hidden field << >>

            8x Solutions Ltd

            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