如何不回发一些控件 [英] How to not post back some controls

查看:67
本文介绍了如何不回发一些控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,
我有一个包含telerik控件的Web应用程序,在母版页中,我有rad manu和2张图像(在页眉和页脚中),但是问题是每次我按任意按钮或菜单时,页面回发,然后图像和菜单也贴回去,那花了我很多时间,因为菜单也很大,图像也很重.我尝试过RadAjaxLoadingPanel,除了菜单和图像外,将整个页面都放在其中,但是它对某些控件(如DateTimePicker ...)产生了问题.
问题:有什么方法可以防止图像回发以及菜单栏.

最好的问候....

Dears,
i have a web application contain telerik controls, in the master page i have rad manu and 2 images (in header and footer) but the problem is each time when i press on any button or menu the page posted back then the images and menu also posted back and that cost me alot of time because the menu is sooo big and heavy also the images. i tried the RadAjaxLoadingPanel i put the whole page in it except the menu and images but it make problems with some controls like DateTimePicker...
The question: is there any way to prevent the images from posting back and also the menu bar.

best regards....

推荐答案

EnablePartialPostBack=True;
This value can be set in the Ajax ScriptManager.


这篇关于如何不回发一些控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆