没有rekoad页面转到下一页 [英] go to next page without rekoad page

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

问题描述

==>代码进入下一页没有进程(重新加载)???



是否可能???

==> code for go in next page without process(reloading) ???

is it possible ???

推荐答案

NavigateUrl 属性



use HyperLink Control and mention your URL in the NavigateUrl property

<asp:hyperlink id="hyp" text="go to Next Page" runat="server" xmlns:asp="#unknown">NavigateUrl="~/NextPage.aspx"></asp:hyperlink>


是的,有一个名为ajax的东西。 jQuery 可以为您提供相当多的帮助。



这是一个例子使用jQuery。

Yes, with a thing called ajax. jQuery can help you quite a bit with this.

Here's an example using jQuery.


.ajax({
type: POST
url: < url你正在查找>
})
.done( function (msg){
// msg包含服务器的响应
});
.ajax({ type: "POST", url: "<url you are looking up>" }) .done(function (msg) { //msg contains the server's response });





请注意,这不适合整页;它更适合小页面更新



Notes that this is not ideal for whole pages; it is better suited to small page updates


这篇关于没有rekoad页面转到下一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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