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 list using ajax

dropdown list using ajax

Scheduled Pinned Locked Moved ASP.NET
help
10 Posts 6 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.
  • J Offline
    J Offline
    jaraldumary
    wrote on last edited by
    #1

    hello, if i select an item from dropdown list the related information should be displaced in another dropdown list (using ajax) Eg: if i select india from one dropdown list the related state's should be represented in another dropdown list. help me.. Thanx in advance...

    A J 2 Replies Last reply
    0
    • J jaraldumary

      hello, if i select an item from dropdown list the related information should be displaced in another dropdown list (using ajax) Eg: if i select india from one dropdown list the related state's should be represented in another dropdown list. help me.. Thanx in advance...

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Just put both the dropdownlist inside different Updatepanel. ( Say Ddl1 is in inside UpdatePanel1 and ddl2 is inside update panel2 ) Now Change the UpdateMode of UpdatePanel2 to “Conditional” . And Update the UpdatePanel2 on the selectionIndex Changed of Ddl1 as UpdatePanel2.Update() Hope Rest part you will do yourself !!!

      cheers, Abhijit

      N 1 Reply Last reply
      0
      • A Abhijit Jana

        Just put both the dropdownlist inside different Updatepanel. ( Say Ddl1 is in inside UpdatePanel1 and ddl2 is inside update panel2 ) Now Change the UpdateMode of UpdatePanel2 to “Conditional” . And Update the UpdatePanel2 on the selectionIndex Changed of Ddl1 as UpdatePanel2.Update() Hope Rest part you will do yourself !!!

        cheers, Abhijit

        N Offline
        N Offline
        Nishant Singh
        wrote on last edited by
        #3

        Implementing this code with Classical Ajax using Javascript is more fun :laugh:

        C 1 Reply Last reply
        0
        • N Nishant Singh

          Implementing this code with Classical Ajax using Javascript is more fun :laugh:

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Damn - proper AJAX is 'classical' now ?

          Christian Graus Driven to the arms of OSX by Vista.

          N N 2 Replies Last reply
          0
          • C Christian Graus

            Damn - proper AJAX is 'classical' now ?

            Christian Graus Driven to the arms of OSX by Vista.

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            Christian Graus wrote:

            Damn - proper AJAX is 'classical' now ?

            :) It's like classical ASP and ASP.NET. Honestly, many people think "ASP.NET AJAX" is the real AJAX :)

            Navaneeth How to use google | Ask smart questions

            C 1 Reply Last reply
            0
            • C Christian Graus

              Damn - proper AJAX is 'classical' now ?

              Christian Graus Driven to the arms of OSX by Vista.

              N Offline
              N Offline
              Nishant Singh
              wrote on last edited by
              #6

              It will soon become classical ,if it's not yet :laugh: People are getting lazier expecting controls to do more and more for them .

              1 Reply Last reply
              0
              • J jaraldumary

                hello, if i select an item from dropdown list the related information should be displaced in another dropdown list (using ajax) Eg: if i select india from one dropdown list the related state's should be represented in another dropdown list. help me.. Thanx in advance...

                J Offline
                J Offline
                jaraldumary
                wrote on last edited by
                #7

                sir, But i am using asp.net 2.0,so how can i use ajax controls,update panel..

                E N 2 Replies Last reply
                0
                • J jaraldumary

                  sir, But i am using asp.net 2.0,so how can i use ajax controls,update panel..

                  E Offline
                  E Offline
                  Expert Coming
                  wrote on last edited by
                  #8

                  You need to go download the AJAX Toolkit from www.ASP.net[^]. It will embed itself into Visual Studio, so you will use them like any other control.

                  The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

                  1 Reply Last reply
                  0
                  • J jaraldumary

                    sir, But i am using asp.net 2.0,so how can i use ajax controls,update panel..

                    N Offline
                    N Offline
                    Nishant Singh
                    wrote on last edited by
                    #9

                    http://www.asp.net/ajax/ajaxcontroltoolkit/default.aspx?wwwaspnetrdirset=1[^] Just install from here

                    1 Reply Last reply
                    0
                    • N N a v a n e e t h

                      Christian Graus wrote:

                      Damn - proper AJAX is 'classical' now ?

                      :) It's like classical ASP and ASP.NET. Honestly, many people think "ASP.NET AJAX" is the real AJAX :)

                      Navaneeth How to use google | Ask smart questions

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #10

                      Yes, I'd say most of the people asking questions here, believe that.

                      Christian Graus Driven to the arms of OSX by Vista.

                      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