You can easily empty the contents of a textbox when you place the cursor or click the pointer inside it.
In your html, add the following inside the textbox control:
onfocus=”this.value = ( this.value == this.defaultValue ) ? ” : this.value;return true;”
That will make sure that whatever text resides inside the textbox, will be deleted once the cursor is places in the textbox control.
A full textbox tag would then be:
<asp:TextBox ID=”SearchBox” runat=”server” Text=”Search” onfocus=”this.value = ( this.value == this.defaultValue ) ? ” : this.value;return true;” />
Easy.