部分刷新上一页 [英] Partially refresh the previous page

查看:84
本文介绍了部分刷新上一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从第一页重定向到第二页时.并再次返回第一页.当时我只想刷新页面的某些内容..

When I am redirecting from first page to second page. and again return back to first page.At that time I want to refresh only some content of the page..
How can I do this using javascript or vb.net?

推荐答案

^ ]听起来像在这里为您服务的方式.一个很棒的库,也可以在 ASP.net [ ^ ] jQuery [ jQuery.ajax() [
AJAX[^] sounds like the way to go for you here. A great library that is also used in ASP.net[^] jQuery[^]. jQuery has support for Ajax jQuery.ajax()[^] built in.

Best Regards,

—MRB


您可以使用更新面板"或使用javascript来查看此页面:链接1 [链接2 [
You can use "Update Panel" or by using the javascript have a look at this page: Partial page refresh by using javascript[^]

Also check these MSDN links to give you more idea about it;

Link 1[^]

Link 2[^]


无法部分刷新上一个"页面,除非两个页面是同一页面,请使用用户控件进行构建.在这种情况下,您可以根据具体情况使用AJAX进行所需的操作.
There is NO way to partially refresh a ''previous'' page, unless the two pages are the same page, build using user controls. In that instance, you MAY be able to use AJAX to do what you want, depending on the specifics.


这篇关于部分刷新上一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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