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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to solve dynamic control panel postback problem?

how to solve dynamic control panel postback problem?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorialquestion
2 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.
  • N Offline
    N Offline
    neodeaths
    wrote on last edited by
    #1

    hi i am currently using c# asp.net 2005. i have a panel which is being populated by a unknown number of fileupload control. so far it works fine, as i use a dropdownlist to populate the amount of fileupload control for the panel, however when i click on the button to access the panel's control the panel always reset. i read somewhere that this is cause by the post back of the button hence the controls in the button act as if they never existed. does anyone have any solution for this they can recommend for this please?

    K 1 Reply Last reply
    0
    • N neodeaths

      hi i am currently using c# asp.net 2005. i have a panel which is being populated by a unknown number of fileupload control. so far it works fine, as i use a dropdownlist to populate the amount of fileupload control for the panel, however when i click on the button to access the panel's control the panel always reset. i read somewhere that this is cause by the post back of the button hence the controls in the button act as if they never existed. does anyone have any solution for this they can recommend for this please?

      K Offline
      K Offline
      kadaoui el mehdi
      wrote on last edited by
      #2

      Hello, I recommand to use the Callback and not postback. For more infotmations you can check this topic : Callback WebControls[^] I hope that will help you. Good luck.

      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