- Add the dynamic controls on each page visit in the page's Initialization stage,
- Read/write the dynamic controls' properties and methods in the
Page_Load
event handler.
在页面结构生成(页面树)之前更改控件集,利用页面声明周期的LoadViewState自动维护动态添加
的控件状态,无需额外操作。
|
|||
在页面结构生成(页面树)之前更改控件集,利用页面声明周期的LoadViewState自动维护动态添加 的控件状态,无需额外操作。 ![]() |
|||