title: ASP.net TextBox TextMode="Date", How do I set value from codebehind?
body: <p>I want to set value from code behind in <code>TextBox</code> and <code>TextMode = "Date"</code>, but browser is not showing anything. I am using Chrome and Bootstrap.</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;asp:Label runat="server" AssociatedControlID="txtDateFrom" CssClass="col-md-2 control-label"&gt;From Date&lt;/asp:Label&gt;
  &lt;div class="col-sm-3"&gt;
    &lt;asp:TextBox runat="server" ID="txtDateFrom1" TextMode="Date" CssClass="form-control" /&gt;
    &lt;asp:RequiredFieldValidator runat="server" ControlToValidate="txtDateFrom1" DateFormat="dd/MM/yyyy" DisplayDateFormat="dd/MM/yyyy" CssClass="text-danger" ErrorMessage="From Date field is required." Display="Dynamic" ValidationGroup="SetRelase" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>CodeBehind:</strong></p>
  
  <p><code>txtDateFrom1.Text = "01/01/2010";</code></p>