I have a master page which has some user controls within an update panel.
我有一个主页,它在更新面板中有一些用户控件。
I would like to put a property in this page to let the content pages to be able to enable/disable async postback way of working this page.
我想在这个页面中放置一个属性,让内容页面能够启用/禁用异步回发方式来处理这个页面。
Can I achieve it programmatically?
我能以编程的方式实现它吗?
Thanks
谢谢
1 个解决方案
#1
9
Yes you can. set EnablePartialRendering="false" on the ScriptManager, it will in effect disable the AJAX behavior of the UpdatePanel.
是的,你可以。在ScriptManager上设置EnablePartialRendering=“false”,实际上会禁用UpdatePanel的AJAX行为。
#1
9
Yes you can. set EnablePartialRendering="false" on the ScriptManager, it will in effect disable the AJAX behavior of the UpdatePanel.
是的,你可以。在ScriptManager上设置EnablePartialRendering=“false”,实际上会禁用UpdatePanel的AJAX行为。