how to solve dynamic control panel postback problem?
-
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?
-
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?
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.