I think while changing the name of the form you have not changed the inherits in Parent.aspx.Change it to Parent.It will work. Pratiksha
On Thu, Aug 6, 2009 at 9:17 PM, Gina_Marano <[email protected]> wrote: > > Hey Guys, > > I am having a problem here. > > I have Parent.aspx.cs: > > using System; > using System.Collections; > using System.ComponentModel; > using System.Data; > using System.Drawing; > using System.Web; > using System.Web.SessionState; > using System.Web.UI; > using System.Web.UI.WebControls; > using System.Web.UI.HtmlControls; > > /// <summary> > /// Parent of all pages > /// </summary> > public partial class Parent : System.Web.UI.Page > { > protected int id = -1; > > protected DataBaseUtils DBUtils; > protected bool CheckCurrentUser; > protected bool IsForAdmin; > ...<snip> > > and > > ReportLEvelIIIIntake.aspx.cs: > > using System; > using System.Data; > using System.Configuration; > using System.Collections; > using System.Web; > using System.Web.Security; > using System.Web.UI; > using System.Web.UI.WebControls; > using System.Web.UI.WebControls.WebParts; > using System.Web.UI.HtmlControls; > > public partial class ReportLevelIIIntake : Parent > { > protected void Page_Load(object sender, EventArgs e) > { > > } > } > > both are in the source directory and part of the project. > > I am getting the following error: > > Error 1 The type or namespace name 'Parent' could not be found (are > you missing a using directive or an assembly reference?) C:\projects > \abdc\trunk\source\ReportLevelIIIntake.aspx.cs 12 44 > C:\...\source\ > > Thoughts? > > ~Gina_M~ >
