Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

are you missing a using directive or an assembly reference?

$
0
0

I cannot quite figure out why I am getting the following error.  I am using Visual Studio 2010/ .NET 4.5.

I could not figure out an option for removing the reference and placing it back, although it does not seem to be much more than an guess...

Error 1 The type or namespace name 'CommonPage' could not be found (are you missing a using directive or an assembly reference?) C:\Users\slyth_000\Dropbox\IS 3139 - Software Engineering\Jonathan Camilleri\bck\Aristotle\Tabs.aspx.cs 10 34 C:\...\Aristotle\

// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License.
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
// All other rights reserved.

using System;
using System.Web.UI.WebControls;
using System.Data.Common;

public partial class Tabs_Tabs : CommonPage
{
protected void Page_Load(object sender, EventArgs e)
{
CurrentTab.Text = Tabs.ActiveTab.HeaderText;

}

public void SaveProfile(object sender, EventArgs e)
{
}
}

Source of control: http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/tabs/tabs.aspx


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>