There’s this very simple bit a code
<asp:TextBox ID="txbVipNumber" runat="server" />
<asp:TextBoxWatermarkExtender ID="tbweVipNumber" runat="server"
WatermarkText="VIP number" TargetControlID="txbVipNumber"
WatermarkCssClass="watermark">
</asp:TextBoxWatermarkExtender>
And there is no watermark in my textbox when i look at the page.
How come it doesn’t work?
EDIT: added css
.watermark {
color:Gray;
font-size:smaller;
font-style:italic;
}
Found the solution. Thanks for remembering me about Firebug and the javascript error console. Feels stupid right now. And so i found that there were some javascript error, one in perticular that said that i should use “ToolkitScriptManager” instead of “ScriptManager”. Solved everything. Thanks again
P.S. It’s sad there is no way to mark a question as answered if there is no answer. That would be usefull for self-answered questions.