开发者

Can I disable an update panel programmatically?

开发者 https://www.devze.com 2023-02-15 19:39 出处:网络
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 postba

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


Yes you can. set EnablePartialRendering="false" on the ScriptManager, it will in effect disable the AJAX behavior of the UpdatePanel.

0

精彩评论

暂无评论...
验证码 换一张
取 消