user control object

  • Thread starter Thread starter Rotsey
  • Start date Start date
R

Rotsey

Hi,

I am using VS2005.

I have created a user control with some properties.

I am trying to pass the user control object to a method in a another class.

But I cannot see the user control in the class list when intellisense comes
up.

Shouldn't I be able to pass it as a object??????


rotsey
 
Rotsey said:
Hi,

I am using VS2005.

I have created a user control with some properties.

I am trying to pass the user control object to a method in a another class.

But I cannot see the user control in the class list when intellisense comes
up.

Shouldn't I be able to pass it as a object??????


rotsey

There are two types of web projects: Web Site and Web Application.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/WAP.asp
First one is convenient for a newbie which want to create a site
without code writing, only by means of mouse. IMHO, that's only
advantage of Web Site projects. In another case use Web Application
type for your project and you get rid of this problem (as well as more
others).
In VS 2005: File->New Project->ASP.Net Web Aplication..
 
Back
Top