ASP.NET AJAX Control Toolkit Demos v17.1.1.0

TextBoxWatermark Sample
Ajax Control Toolkit
TextBoxWatermark Demonstration
First name:
Last name:



Hello [blank] [blank]!
TextBoxWatermark Description
TextBoxWatermark is an ASP.NET AJAX extender that can be attached to an ASP.NET TextBox control to get watermark behavior. When a watermarked TextBox is empty, it displays a message to a user with a custom CSS style. Once the user has typed text into the TextBox, the watermarked appearance disappears. The watermark is intended to provide more information to a user about the TextBox without cluttering up the rest of the page.
TextBoxWatermark Properties
Properties
  • WatermarkCssClass - A CSS class to apply to the TextBox when it has no value (e.g. watermark text is shown)
  • WatermarkText - Text to show when the control has no value
Copyright © 2012-2017 CodePlex Foundation. All Rights Reserved.