在Master页面中,菜单每次都刷新问题 [英] In Master page, menu refresh every time problem

查看:109
本文介绍了在Master页面中,菜单每次都刷新问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我在母版页的树状视图中设置母版页和侧边菜单,当用户点击菜单项时它在ContentPlaceholder中打开它兴高采烈的页面。



它刷新整个页面,我只想要ContentPlaceHolder刷新。



我尝试使用AJAX框架的ScriptManager和Updatepanel。但是没有帮助。





请帮忙。

谢谢

解决方案

如何设置  更新模式   updatepanel  条件 然后 < span class =code-keyword>使用 触发器  调用刷新。 

此网址清楚地解释了这种情况。在这里,您可以看到 update 面板中的标签如何通过单击刷新按钮刷新 $ p>

Hi,


I have set master page and side menu's in tree view in master page & when user clicks on Menu item it open its elated page in ContentPlaceholder.

Its refreshing the whole page and I want only ContentPlaceHolder to refresh.

I tried using ScriptManager & Updatepanel of AJAX framework. But didn't helped.


Please help.
Thanks

解决方案

how about setting the updatemode of the updatepanel to conditional and then use a trigger to call the refresh.

this url clearly explains this scenario. here you can see how the label inside the update panel get refreshed by clicking the refresh button


这篇关于在Master页面中,菜单每次都刷新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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