Nicholas V. Nicholas V. - 3 months ago 33
ASP.NET (C#) Question

Placeholder/Example text in textbox for user

What is the step to get example text to show up in an textbox.

For example, textbox w/ ID =

inside it for the user to reference.


I believe you want a placeholder attribute:

<asp:TextBox ID="placeholderTextBox" runat="server" placeholder="mm/dd/yyyy"></asp:TextBox>