Dynamically Added UserControl disappears when I click on it

后端 未结 2 1186
梦毁少年i
梦毁少年i 2020-12-22 04:42

I have controls inside a UpdatePanel like this




        
2条回答
  •  旧时难觅i
    2020-12-22 05:40

    Dynamically added controls must be instantiated and initialized on each postback. So in this case you have to load that control in page_init/load event.

提交回复
热议问题