Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting An Error

Status
Not open for further replies.

peebman2000

Programmer
Nov 28, 2006
30
US
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
 
You should be posting at the asp.net forum forum855. Anyway It cant find the textbox 'NameEvent'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top