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. update panel not working [modified]

update panel not working [modified]

Scheduled Pinned Locked Moved ASP.NET
databasequestionannouncement
4 Posts 2 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.
  • S Offline
    S Offline
    snehasish
    wrote on last edited by
    #1

    hi; I am not able to have update panel do a partial post back.Page is refreshed each time when selected index changed. Can any one please tell me , what am I missing ?

                enter your name
    
            
    
                
            
            
    
        
    
    
    
            
    
                select any one
    
            
    
                a
                    b
                    c
                
            
    
        
    
        
    
            
    
                your select is
    

    my code behind is

    Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
    Label1.Text = DropDownList1.SelectedItem.Text
    End Sub

    modified on Thursday, April 23, 2009 2:20 AM

    S 1 Reply Last reply
    0
    • S snehasish

      hi; I am not able to have update panel do a partial post back.Page is refreshed each time when selected index changed. Can any one please tell me , what am I missing ?

                  enter your name
      
              
      
                  
              
              
      
          
      
      
      
              
      
                  select any one
      
              
      
                  a
                      b
                      c
                  
              
      
          
      
          
      
              
      
                  your select is
      

      my code behind is

      Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
      Label1.Text = DropDownList1.SelectedItem.Text
      End Sub

      modified on Thursday, April 23, 2009 2:20 AM

      S Offline
      S Offline
      SayreCC
      wrote on last edited by
      #2

      Hi, I think change your tr to table tag inside of your updatepanel

      select any one

      a b c

      your select is

      Hope this one can help Thanks

      S 1 Reply Last reply
      0
      • S SayreCC

        Hi, I think change your tr to table tag inside of your updatepanel

        select any one

        a b c

        your select is

        Hope this one can help Thanks

        S Offline
        S Offline
        snehasish
        wrote on last edited by
        #3

        Hi; Thanks for reply.It works if i put entire table into update panel.but not working i keep another table outside updatepanel.Here is my code

        enter your name

        select any one

        a b c

        your select is

        S 1 Reply Last reply
        0
        • S snehasish

          Hi; Thanks for reply.It works if i put entire table into update panel.but not working i keep another table outside updatepanel.Here is my code

          enter your name

          select any one

          a b c

          your select is

          S Offline
          S Offline
          SayreCC
          wrote on last edited by
          #4

          Hi, you must have trigger like this Thanks

          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