Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > type or namespace could not be found

Reply
Thread Tools

type or namespace could not be found

 
 
Andy Sutorius
Guest
Posts: n/a
 
      03-16-2005
Hi,

I have a placed a user control I created in two seperate places within my
webpage. When I go to build the solution I am told that the user controls
are causing an error, "the type or namespace name 'ddlBillingCountry' could
not be found (are you missing a using directive or an assembly reference?)
Why am I getting this error?

Thanks,

Andy


 
Reply With Quote
 
 
 
 
Alejandro Penate-Diaz
Guest
Posts: n/a
 
      03-16-2005
try dragging the control from the Solution Explorer into your pages


"Andy Sutorius" <> wrote in message
news:ScZZd.12020$ m...
> Hi,
>
> I have a placed a user control I created in two seperate places within my
> webpage. When I go to build the solution I am told that the user controls
> are causing an error, "the type or namespace name 'ddlBillingCountry'
> could
> not be found (are you missing a using directive or an assembly reference?)
> Why am I getting this error?
>
> Thanks,
>
> Andy
>
>



 
Reply With Quote
 
 
 
 
Andy Sutorius
Guest
Posts: n/a
 
      03-16-2005
That's what I did. I forgot to mention that I reference the id of the user
control in the code behind. That's where it is actually failing. It compiles
fine if I just drag it on the page. But as soon as I reference the control,
i.e. ddlBillingCountry.SeletedItem.Text, it fails to compile.


"Alejandro Penate-Diaz" <> wrote in message
news:...
> try dragging the control from the Solution Explorer into your pages
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The type or namespace name 'IssueDataSetTableAdapters' could not be found (are you missing a using directive or an assembly reference?) tarscher@gmail.com ASP .Net 0 09-22-2006 08:41 AM
Compilation error CS0246: The type or namespace name 'MySql' could not be found Benny Dein ASP .Net 0 03-20-2006 06:30 PM
CS0246: The type or namespace name 'TemplateContainer' could not be found robseflops@gmail.com ASP .Net 1 03-16-2006 06:56 PM
The type or namespace name 'KeyPressEventArgs' could not be found =?Utf-8?B?bG91aXNlIHJhaXNiZWNr?= ASP .Net 3 11-17-2004 02:14 PM
Compile Error: The type or namespace name 'SQLDataSetCommand' could not be found Matthew Louden ASP .Net 2 12-12-2003 06:55 PM



Advertisments