如何在UpdatePanel实际工作?实际、如何在、工作、UpdatePanel

由网友(像温柔野兽)分享简介:什么时候有更新触发更新?善有善报到服务器?什么回来?What is updated when an Update is triggered? What goes to the server? What comes back?我下,面板的唯一的内容物传送到服务器和背面(没有在面板外的页面触碰任何东西)的即时通讯pre...

什么时候有更新触发更新?善有善报到服务器?什么回来?

What is updated when an Update is triggered? What goes to the server? What comes back?

我下,面板的唯一的内容物传送到服务器和背面(没有在面板外的页面触碰任何东西)的即时通讯pression,但我遇到奇怪的结果,可能是因为我不吨真的了解它是如何工作的。

I was under the impression that only the content of the panel was transmitted to the server and back (without touching anything in the page outside the panel), but I'm experiencing strange results, probably because I don't really understand how it works exactly.

有人可以提供一个简单的解释,究竟是否可行?

Can someone provide an easy explanation as to how exactly it works?

推荐答案

产生什么是形式通过AJAX提交,这意味着基本上是在浏览器中的XML HTTP。当它击中服务器,服务器将其视为一个AJAX调用,并请求路由到正确的方法。

What is generated is a form submit through AJAX, which means essentially XML HTTP in the browser. When it hits the server, the server sees it as an AJAX call and it routes the Request to the correct method.

至于precisely什么是送的,这是任何形式提交应派,它可以很好地将在UpdatePanel之外的信息。断绝然后计算出什么一起工作,并发送回一个响应。

As for precisely what is sent, it is anything that the form submit should send, which can very well be information outside of the UpdatePanel. the sever then figures out what to work with and sends back a Response.

这是一切都很好的理论,但你面对的问题不是理论。什么陌生感,你经历?如果你可以发布,我们可以专注于问题的详情。

This is all well and good as theory, but you are dealing with problems not theory. What strangeness are you experiencing? If you can post, we can focus on the particulars of the problem.

阅读全文

相关推荐

最新文章