I have attempted to apply the accepted answer to this question How to access html form input from asp.net code behind
and other similar questions.
I have the following HTML input, that I am using to display a datepicker:
FROM:<input type="text" runat="server" name="popupDatepickerFrom" id="popupDatepickerFrom">
and this code to then retrieve the value:
string myStringFromTheInput = popupDatepickerFrom.Value;
Response.Write(myStringFromTheInput);
Response.End();
But this does not return anything. What am I doing wrong?