Want to work with us? We're on the lookout for digital experts.

We're hiring

ASP.Net Ajax Timer Control Flicker With Watermark

Web Bureau

12 March 2011 by Web Bureau

Ok ive had a probelm recently where a countdown timer using AJAX  also causes any watermark extender to flicker their values. After searching around for a bit i found this solution. Hope this helps someone else.

 add the following script to the page/control.

<script type="text/javascript">
 function pageLoad() {
 $find('flicker')._onSubmit = function() {
}; }

on the TEXTBOXWATERMARKEXTENDER add the BehaviourID= "flicker"

<asp:TextBoxWatermarkExtender ID="email_extender" runat="server" Enabled="True" TargetControlID="email" WatermarkText="email"  BehaviorID="flicker">

Grow your businessStart a project with us today.

This site uses essential cookies for parts of the site to operate and have already been set. Find out more about how we use cookies and how you may delete them. You may delete cookies, but parts of the site will not work.