QUOTE(gabehabe @ 3 Oct, 2008 - 07:07 AM)

TemplateContainer isn't being declared in the scope of your master page. Is it in another namespace? Is it private?
If you could post your code, I might be able to figure it out

Thanks for your quick response.
Here is the code for the master page.cs file :
csharp
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;
using System.Web.UI.MobileControls;
using System.Threading;
using System.Globalization;
using System.Drawing;
using System.Collections.Specialized;
using System.Data.SqlClient;
using System.Xml;
public partial class TestWebGlobal : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
And teh code for the masterpage.aspx file:
CODE
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="TestWebGlobal.master.cs" Inherits="TestWebGlobal" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<div style="text-align: center; vertical-align:top">
<form id="TestWebGlobalMaster" runat ="server">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</form>
</div>
</body>
</html>