To answer your original question anyway, you can set that hidden input to runat="server" and then use it at the server. Make sure it has an ID (It's useless without it) and then declare the control on your code page AS HTMLCONTROL.