You can set the runat= server for the hidden control and you can use ControlName.Value to get its value in CodeBehind file