I want my text box to have a date in it, how do I do it?
<asp:TextBox ID="BirthdayRegBt" runat="server" class="form-control" placeholder="Birthday Date" required=""></asp:TextBox>
I want my text box to have a date in it, how do I do it?
<asp:TextBox ID="BirthdayRegBt" runat="server" class="form-control" placeholder="Birthday Date" required=""></asp:TextBox>
Copyright © 2021 Jogjafile Inc.
You can set the placeholder attribute to indicate a sample value for the field. For Date, there are HTML 5 input types such as date, datetime, datetime-local are available.
for. e.g.
<asp:TextBox ID="TextBox1" runat="server" TextMode="DateTimeLocal" placeholder="12-12-2016" ></asp:TextBox>
html example: