3

我在我的网页中放UpdatePanel了一个触发器。Timer此外,在面板之外,我将 aTextBoxWatermarkExtender.

当计时器滴答作响时,UpdatePanel刷新。此外,水印会闪烁(它会从文本框中消失并重新出现)。这种情况每 1 秒发生一次。这是一个大问题。

请问有什么帮助吗?

4

1 回答 1

0

There is no way to fix this because of how the extender works. It actually swaps out textboxes on postback. The only way to fix would be to manually write your own extender js code. You can read more about this problem here

http://forums.asp.net/p/1073683/1605937.aspx

and here

http://mattberseth.com/blog/2008/06/rewriting_the_textboxwatermark.html

于 2013-03-22T17:24:45.867 回答