peebman2000
Programmer
Hello below is the error I'm getting when I try running my page. The page just has some labels and text boxes with requiredfieldvalidators. I also have ajax imports, but I don't think the ajax is affecting the error. I don't know why i'm getting this error below, would anyone know why? Let me know I would appreciate any assistance. Thank you.
Unable to find control id 'NameEvent' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator7'.
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: Unable to find control id 'NameEvent' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator7'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Unable to find control id 'NameEvent' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator7'.]
System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) +222
System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() +179
System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() +36
System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +46
Microsoft.Web.UI.Compatibility.RequiredFieldValidator.OnPreRender(EventArgs e) +111
System.Web.UI.Control.PreRenderRecursiveInternal() +148
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4437
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Unable to find control id 'NameEvent' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator7'.
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: Unable to find control id 'NameEvent' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator7'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Unable to find control id 'NameEvent' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator7'.]
System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) +222
System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() +179
System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() +36
System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +46
Microsoft.Web.UI.Compatibility.RequiredFieldValidator.OnPreRender(EventArgs e) +111
System.Web.UI.Control.PreRenderRecursiveInternal() +148
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4437
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210