Problem with dynamic controls in .NET

前端 未结 9 1189
迷失自我
迷失自我 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 07:57

    Try calling Page.RegisterRequiresControlState(). You can also use RequiresControlState() to check if it's already been registered.

提交回复
热议问题