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 avoid page refresh when i select the value in drop down list

how to avoid page refresh when i select the value in drop down list

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelptutorial
8 Posts 5 Posters 1 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.
  • V Offline
    V Offline
    vidyasankar 0
    wrote on last edited by
    #1

    hai all, how to avoid page refreshing in aspx page. when i select the value in drop down list the page refreshed..In that time i have manipulate with database..So it wil take much time for loading... How can avoid this problem... i have develop my project using c# with asp.net Thanks®ards, vidyasankar N

    pain gives gain

    V B S 4 Replies Last reply
    0
    • V vidyasankar 0

      hai all, how to avoid page refreshing in aspx page. when i select the value in drop down list the page refreshed..In that time i have manipulate with database..So it wil take much time for loading... How can avoid this problem... i have develop my project using c# with asp.net Thanks®ards, vidyasankar N

      pain gives gain

      V Offline
      V Offline
      VenkataRamana Gali
      wrote on last edited by
      #2

      set its AutoPostBack property to false

      regards GV Ramana

      1 Reply Last reply
      0
      • V vidyasankar 0

        hai all, how to avoid page refreshing in aspx page. when i select the value in drop down list the page refreshed..In that time i have manipulate with database..So it wil take much time for loading... How can avoid this problem... i have develop my project using c# with asp.net Thanks®ards, vidyasankar N

        pain gives gain

        B Offline
        B Offline
        Balagurunathan S
        wrote on last edited by
        #3

        Hi VidyaSankar... The postback issue can be overcome if u use AJAX concept in ur application Regards,

        Balaguru

        V 1 Reply Last reply
        0
        • V vidyasankar 0

          hai all, how to avoid page refreshing in aspx page. when i select the value in drop down list the page refreshed..In that time i have manipulate with database..So it wil take much time for loading... How can avoid this problem... i have develop my project using c# with asp.net Thanks®ards, vidyasankar N

          pain gives gain

          V Offline
          V Offline
          VenkataRamana Gali
          wrote on last edited by
          #4

          if u dont want to use AJAX then capture dropdownlist event in javascript & by using javascript manipulate the DB.

          regards GV Ramana

          A 1 Reply Last reply
          0
          • B Balagurunathan S

            Hi VidyaSankar... The postback issue can be overcome if u use AJAX concept in ur application Regards,

            Balaguru

            V Offline
            V Offline
            vidyasankar 0
            wrote on last edited by
            #5

            how to use ajax in particular asp.net webcontrol... you know any sample code... pls send me... thanks®ards, vidyasankar N

            pain gives gain

            B 1 Reply Last reply
            0
            • V VenkataRamana Gali

              if u dont want to use AJAX then capture dropdownlist event in javascript & by using javascript manipulate the DB.

              regards GV Ramana

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

              look at AJAX t.aransiola

              1 Reply Last reply
              0
              • V vidyasankar 0

                how to use ajax in particular asp.net webcontrol... you know any sample code... pls send me... thanks®ards, vidyasankar N

                pain gives gain

                B Offline
                B Offline
                Balagurunathan S
                wrote on last edited by
                #7

                Hi Sankar.. There are many ways in using Ajax..I use a .dll to work with ajax..AS like Ramana said capture the dropdownlist events with javascript and that works fine,but the thing is that u have to go for functions sacrificing the dropdownlist_selectedIndex changed property.. Regards,

                Balaguru

                1 Reply Last reply
                0
                • V vidyasankar 0

                  hai all, how to avoid page refreshing in aspx page. when i select the value in drop down list the page refreshed..In that time i have manipulate with database..So it wil take much time for loading... How can avoid this problem... i have develop my project using c# with asp.net Thanks®ards, vidyasankar N

                  pain gives gain

                  S Offline
                  S Offline
                  Satish_S
                  wrote on last edited by
                  #8

                  i think you can use html control and fill the drop down when page loads. this will load the datas when page loads and minimize loading time.

                  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