Server Error in '/' Application.

Control 'ctl00_ContentPlaceHolder1_txtmodal' of type 'HiddenField' must be placed inside a form tag with runat=server.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Control 'ctl00_ContentPlaceHolder1_txtmodal' of type 'HiddenField' must be placed inside a form tag with runat=server.

Source Error:


[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\e9dea341\f956fa28\App_Web_prcc2mxr.2.cs    Line: 0

Stack Trace:


[HttpException (0x80004005): Control 'ctl00_ContentPlaceHolder1_txtmodal' of type 'HiddenField' must be placed inside a form tag with runat=server.]
   System.Web.UI.Page.VerifyRenderingInServerForm(Control control) +11167438
   System.Web.UI.WebControls.HiddenField.Render(HtmlTextWriter writer) +73
   ASP.contactus_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\e9dea341\f956fa28\App_Web_prcc2mxr.2.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.9054; ASP.NET Version:2.0.50727.9051