单击菜单时,“刷新完整页面" [英] Complete Page is REFRESHING when clicking on Menus

查看:105
本文介绍了单击菜单时,“刷新完整页面"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我有一个网页,

它具有菜单-Home,ChangePassword,ShowDetails,Logout.

当我单击这些链接时,正在刷新完整页面".我不想刷新完整页面".

请谁能找到我的解决方案.

谢谢.

Dear Frnds,

I have a WebPage,

In that it has Menus as - Home ,ChangePassword, ShowDetails , Logout.

When i click these Links THE COMPLETE PAGE IS REFRESHING. i dont want to refresh the Complete Page.

Please can anyone find me the solution for this.

Thanks.

推荐答案

您可以使用AJAX实现相同的目的.

简单的方法是使用UpdatePanel相同:简而言之,将小东西放在一旁,将您需要的区域放在Udpate面板中以启用部分渲染.您去了:

UpdatePanel控件概述 [ UpdatePanel控件 [ UpdatePanel类 [
You can achieve the same using AJAX.

Easy way would be to use UpdatePanel for the same: Keeping small things aside, in short, put your needed area in an Udpate Panel to enable partial rendering. Here you go:

UpdatePanel Control Overview[^]
UpdatePanel control[^]
UpdatePanel Class[^]
All you need to know with sample code is present and explained.

Nutshell: You need to put your related area in an Udpate Panel and have menu actions as triggers to enable partial rendering.


您可以使用Ajax或可以使用jQuery的.与我分享这些内容,我会为您提供一个完美的解决方案.
You can use Ajax or can work with jQuery. Share the things with me, I will give u a perfect solution for this.


您好,Ranjith,

更新面板最适合您上述要求.


http://msdn.microsoft.com/en-us/library/bb399001.aspx [ ^ ]


http://www.dotnetfunda.com/forums/thread54-update-panel-requires- scriptmanager.aspx [ ^ ]


请参考上面的链接....可能对您有帮助
Hi Ranjith,

Update panel is the best for your above request .


http://msdn.microsoft.com/en-us/library/bb399001.aspx[^]


http://www.dotnetfunda.com/forums/thread54-update-panel-requires-scriptmanager.aspx[^]


Please refer the above link ....It may be help you


这篇关于单击菜单时,“刷新完整页面"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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