更新面板问题 - 动态数据提取 [英] Problem with Update Panel - dynamic data fetch

查看:81
本文介绍了更新面板问题 - 动态数据提取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




(Asp.net + Ajax)


我正在创建一个页面,它将从服务器获取数据而不需要postbak一个页面..


我在这个页面上有2个控件TextBox和Lable。我已将TextBoxWatermark扩展程序分配给TextBox。在更新面板中,我有Lable ..并且更新面板每3秒刷新一次,它会获取数据并显示它。但我的问题是每当从服务器获取数据时文本框水印都会闪烁。我不知道为什么它是filckers。有没有人有这个想法。


我给的是示例代码。检查后取数据TextBox是否闪烁。

Hi,

(Asp.net + Ajax)

I am creating a page which will fetch data from server without postbak of a page..

I have 2 controls on this page TextBox and Lable. I have assigned TextBoxWatermark extender to TextBox. Inside a Update panel i have Lable.. and the update panel refreshes each 3 seconds and it fetches data and displays it. But my problem is whenever the data is fetched from Server the textbox watermark flickers. i dont know why it filckers. Does anybody has the idea.

I am giving the sample code. Check that the after fetching data the TextBox flickers.

展开 | 选择 | Wrap | 行号

推荐答案

你能发帖吗?页面加载后在浏览器中显示的呈现的html代码?这样我们就可以看到控件如何创建水印......否则我可以将该帖子转移到ASP.NET论坛,在那里你可能会更好地帮助它。它似乎不是一个javascript / ajax问题更多的.net-Ajax-toolkit或asp.net控件...


亲切的问候
could you post the rendered html-code as it appears in the browser after page-load? so that we might see how the control creates the watermark ... otherwise i could move that post over to the ASP.NET forum where you probably could better help with that. it doesn''t seem to be a javascript/ajax issue more one with the .net-Ajax-toolkit or asp.net control ...

kind regards




感谢您的回复,


这里是Html呈现的代码



Hi,
Thank you for reply,

Here is Html rendered code



展开 | 选择 | Wrap | 行号


我想重新加载表单或水印 - 代码在更新后再次执行。但是我对ASP.NET不熟悉...你可能会追踪或排除上述问题吗?


亲切的问候
i guess the form is reloaded or the ''watermark''-code is executed again after the update ... but i''m not familiar with ASP.NET ... so may be you could trace or exclude the mentioned issues?

kind regards


这篇关于更新面板问题 - 动态数据提取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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