Problem with dynamic controls in .NET

前端 未结 9 1124
迷失自我
迷失自我 2020-12-13 07:50

Problem with dynamic controls

Hello all,

I\'m wanting to create some dynamic controls, and have them persist their viewstate across page loads. Easy enough,

9条回答
  •  失恋的感觉
    2020-12-13 08:23

    I'm already re-creating the controls in my OnLoad event.

    That's your problem. OnLoad is too late. Use Init instead.

提交回复
热议问题