页面的部分渲染 [英] Partial Rendering of pages

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

问题描述

亲爱的所有人,



虽然我过去也曾问过几乎相同的问题,但我仍然不清楚AJAX部分回发中的事情和偏见效果图。



我有几个直截了当的问题仍然让我烦恼...



1)我的页面上有多个框架。我可以在没有闪烁的情况下刷新另一帧中的页面吗?



左框架包含一个按钮,右框架包含UpdatePanel中的网格。

点击按钮(从左框开始),我可以刷新网格内容(DOM刷新),而无需在Ajax响应中执行此操作。??????



2)页面内容的部分呈现和部分更新是否可以使用AJAX Update Panel完成,但不能更改/更新ajax响应中的DOM。有没有其他方法来更新代码中的HTML或DOM元素,因为我想在运行时更新网格(没有闪烁),我认为这不是一个很好的方法来获取整个响应中的网格HTML。



3)GMAIL / Yahoo邮件等如何在运行时删除行并更新网格(我的意思是HTML)而不回发然后???





请建议,我很困惑。 :(





在此先感谢.. :)

Dear All,

Although i have already asked almost the same questions in past also,But I am still not clear about following thing in AJAX partial postbacks and partial renderings.

I have a few straightforward questions that are still annoying me...

1) I have multiple frames on my page. Can i refresh the page in another frame without flickering?..ex.

Left frame contains a button and right frame contains a Grid in an UpdatePanel.
On Button click(from left frame) ,can i refresh the grid content(DOM Refresh) without doing it in Ajax Response.??????

2) Do the partial rendering and partial updation of page content can be done using AJAX Update Panel but not changing/updating the DOM in ajax response. Is there any other way to update the HTML or DOM elements in code behind as i want to update Grid on run time (without flickering) and that i think is not a good approach to get the whole HTML of Grid in Response.

3) How do GMAIL/Yahoo mail etc. delete the rows at runtime and update the grid(i mean HTML) without postback then???


Please suggest,I am confused. :(


Thanks in advance.. :)

推荐答案

虽然我已经完成了所有这些,但也使用同步Ajax调用。但这是我能做的最糟糕的事情。
Although i have done all this, somewhere using synchronous Ajax calls also..but that is the worst i could do.


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

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