Dynamic UserControls On PostBack Asp.Net

前端 未结 1 1564
南笙
南笙 2021-01-28 15:31

I created an item user_control that has a textbox, button, etc. which will intentionally collect the total quantity of items the user wants.

I dynamically create a few i

相关标签:
1条回答
  • 2021-01-28 16:34

    Looking at your example code, it looks like you might be recreating the controls too late in the page lifecycle. Try recreating the controls during OnInit and see if that helps.

    0 讨论(0)
提交回复
热议问题