asp.net AJAX中的无闪烁面板 [英] flicker free panel in asp.net AJAX

查看:74
本文介绍了asp.net AJAX中的无闪烁面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用asp.net和ajax构建一个简单的聊天应用程序.在更新面板中,我向用户展示消息并每5秒更新一次消息框,但一切都很好,但是当更新面板更新时,它会轻弹.

我需要有关包含用户消息的面板的无闪烁更新的帮助.

I''m trying to build a simple chat application using asp.net and ajax. In a update panel I''m showing the messages from users and updating the message box every 5 sec, all thing well but when the update panel updates it get flicks.

I need some help on flicker free updation of the panel containing messages of users.

推荐答案

我刚刚尝试管理更新面板和面板的顺序. >
将更新面板放置在面板标签下不会引起闪烁,并且还可以在更新时保持滚动位置.
I had just tried to manage the order of update panel and panel.

Place the update panel under panel tag does not cause the flicker and also maintains the scroll position on updates.


Avinash,
检查以下链接

选中 [ ^ ]
尝试 [ ^ ]
可能会对您有帮助.

谢谢
ChetanV.
hi Avinash,
check the following link

Check this[^]
try it[^]
may be it will help you.

Thank You
ChetanV.


这篇关于asp.net AJAX中的无闪烁面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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