Please help as I've been retyping for hours.
I get the following error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Source Error:
Line 13: {
Line 14:
Line 15: public partial class TemplateMaster : System.Web.UI.MasterPage
Line 16: {
Line 17: protected void Page_Load(object sender, EventArgs e)
Source File: c:\DTII\WebSite\DTII_Web\Template.master.cs Line: 15
Here's what my Template.master.cs has:
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;
namespace MB.DTII_Web.UI
{
public partial class TemplateMaster : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
What the heck am I missing? I noticed that there isnt a :
using System.Web.UI.MasterPage nor a System.Web.UI.Content
Please help