Problem with dynamic controls in .NET

前端 未结 9 1125
迷失自我
迷失自我 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:03

    Control added before SaveViewState method called in control life cycle should persist their values. I would concur with Joe's answer. Check this image

    http://emanish.googlepages.com/Asp.Net2.0Lifecycle.PNG

提交回复
热议问题