Advertisement

05.20.2008 at 07:30AM PDT, ID: 23417284
[x]
Attachment Details

Name <control> is not declared on every control!

Asked by G0ggy in Visual Studio, Programming for ASP.NET, .NET Framework 2.x

Tags:

Hi all,

I've imported my project into Visual Studio 2008 (from 2005) now on build every single reference to a control in the code behind is underlined and is reported as "not declared", even though the control does exist on the web page.

Example:

Name 'ddlCountry' is not declared.
Name 'wizRegister' is not declared.

And so on to the maximum errors being reached. So I assume it means for every single control on every page. What could be the problem?Start Free Trial
[+][-]05.20.2008 at 07:45AM PDT, ID: 21606609

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.23.2008 at 04:24AM PDT, ID: 21631016

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio, Programming for ASP.NET, .NET Framework 2.x
Tags: Visual Studio 2008, VB.NET, ASP.NET
Sign Up Now!
Solution Provided By: G0ggy
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628