在更新update-panel的同时导航 [英] navigating while updating update-panel

查看:79
本文介绍了在更新update-panel的同时导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我建立了一个有3页的asp.net网站.其中一个页面具有更新面板.服务器需要几秒钟来更新此面板.当客户端要求服务器更新此面板并尝试同时导航到我的站点中的另一个页面时-仅在FF上出现问题:客户端无法提交导航到另一个页面的请求.它的请求似乎被卡住了(通过萤火虫).

我搜索了一下,发现当调用ajax请求时,更新面板被阻止,并且无法处理对服务器的其他请求.是这样吗?有人可以阐明这个问题以及如何解决吗?

预先感谢.

Hi,

I have build an asp.net web site with 3 pages. One of the pages has an update panel. It takes the server few seconds to update this panel. When the client asks the server to update this panel, and tries to navigate to another page in my site at the same time - a problem occurs on FF only: the client cannot submit request to navigate to another page. Its request seems to be stuck (via firebug).

I googled and found that when a ajax request is invoked, the update panel is blocked and no other request to the server can be handled. Is that so? Does someone can shed some light about the problem and how to solve it?

Thanks in advance.

推荐答案

尝试将REST与JQuery或WCF一起使用(如果使用WCF)
教程@ http://rest.elkstein.org/2008/02/using- rest-in-c-sharp.html [ ^ ]
Try using REST with JQuery or WCF (if using WCF)
Tutorial @ http://rest.elkstein.org/2008/02/using-rest-in-c-sharp.html[^]


谢谢.最重要的是,这是其他程序员放置的js并引起了错误.
Thanks. At the bottom line it was a js some other programmer put and caused the error.


这篇关于在更新update-panel的同时导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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