title: can't get value from readonly or disabled textbox control asp.net
body: <p>I created an uneditable control in asp.net using either of the folowing</p>
  
  <pre><code>&lt;asp:TextBox ID="txtStartDate" runat="server" enabled="false"&gt;&lt;/asp:TextBox&gt;
  or
  &lt;asp:TextBox ID="txtStartDate" runat="server" readonly="true"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>am using a javascript popup to fill the textbox in the client side. the value is always null when i tried to retrieve it in codebehind</p>
  
  <p>can anyone suggest a better way</p>