i have a html control

<input name="test" type="hidden" id="test" runat="server" />

in asp.net when i execute the application i am getting syntax error at the above line which contains this control i am unabel to locate the error . how do i locate it when this control has value it works fine but if it does not have value it gives the error msg i even checked for if else condition if it has value it goes in the deugging sequence it no value it just gives the error msg and all this event for getting the value is given on a button click