且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IsPostBack控件变得清晰时的ASP.NET Web窗体

更新时间:2023-12-06 10:45:16

您可以使用AJAX Updatepanel

AJAX多个更新面板,ASP.NET中的触发器 [ ^ ]
You may use AJAX Updatepanel

AJAX multiple Update Panel, Triggers in ASP.NET[^]




html表不是服务器控件,因此回发时将清除请使用updatepanel


html table is not server control so when postback happen it will clear pls use updatepanel


如果动态添加控件,它将不会保留其状态.在每次回发中,您都必须再次在面板中添加控件.使用框架不是您的问题的解决方案.我相信您应该确切地解释有关您的问题的更多信息.您可以根据需要添加任意数量的面板.问题是您对所有这些面板的处理方式.
If you are adding control dynamically, it will not retain its state. On every postback you have to add the controls in the panels again. To use frame is not the solution of your problem. I believe you should explain more about your problem what you want to exactly. You can add as many panels as you want. Question is about what you are doing with all these panels.