Want to work with us? We're on the lookout for a talented Digital Project Manager.

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.