Thanks, giving it a try now.
This site worked earlier Wednesday. I haven't changed any classes or
renamed anything. I have just been adding some local variables and
such. I then even reverted back to the original files in SVN. I think
it might be more an environmental issue?
Parent.aspx
Page language="c#" Inherits="Parent" CodeFile="Parent.aspx.cs"
ReportLevelIIIIntake.aspx: (this is the file that is complaining)
Page Language="C#" MasterPageFile="~/ReportMasterPage.master"
AutoEventWireup="true" CodeFile="ReportLevelIIIntake.aspx.cs"
Inherits="ReportLevelIIIntake" Title="MDS - Level II Intake Report"
@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp"
@ Register Src="ReportLevelIIIntakeUserControl.ascx"
TagName="ReportLevelIIIntakeUserControl"
TagPrefix="uc1"
Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server"
<uc1:ReportLevelIIIntakeUserControl
ID="ReportLevelIIIntakeUserControl1" runat="server"
asp:Content
On Aug 6, 11:22 pm, Pratiksha Saxena <[email protected]>
wrote:
> In PARENT.ASPX -> Source go to top line and change this to<%@ Page
> Language="C#" AutoEventWireup="true" CodeFile="Parent1.aspx.cs"
> Inherits="Parent" %>
>
> It will work.
>
> Pratiksha
>
> On Thu, Aug 6, 2009 at 10:49 PM, Gina_Marano <[email protected]> wrote:
>
> > Not enough info? Or a stupid question?
>
> > ~Gina_M~
>
> > On Aug 6, 8:47 am, 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~