Link to home
Start Free TrialLog in
Avatar of Isaac
IsaacFlag for United States of America

asked on

TextBoxWatermarkExtender

I jsut installed AjaxToolKit.

I applied the the control to a textbox but when I run the page the watermark does not show.

What am I doing wrong?  Thanks.


<form id="form1" runat="server">
    <asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager>

                        <asp:TextBoxWatermarkExtender ID="tweSpouseAddr" WatermarkText="Address" runat="server" TargetControlID="spouseAddr" WatermarkCssClass="watermarked">
                        </asp:TextBoxWatermarkExtender>
                    <asp:TextBox ID="spouseAddr" runat="server" Width="491px"></asp:TextBox>

</form>

Open in new window

Avatar of urir10
urir10

two things,
First try writing the asp:TextBoxWatermarkExtender  after the actual textbox.
second make sure the css gets applied to the extender
ASKER CERTIFIED SOLUTION
Avatar of Isaac
Isaac
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial