Re: using user controls in class file
- From: <dl>
- Date: Wed, 25 May 2005 10:10:54 +0800
Thanks
I somehow got it fixed by changing the instance declaration to "public". Of
course, I also had the /reference option when compiling.
<lisa@xxxxxxxxxxxx> wrote in message
news:1116869209.077847.124110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> dl wrote:
> > Hi
> > I would like to define an instance of a user control, which is in a
> separate
> > assembly, in a class file I am trying to build, how can I do this,
> please?
> >
> > I am getting compilation error, saying "missing using directive or an
> > assembly reference", but I have already included the "using ..."
> directive.
>
> Sometimes that isn't enough. Are you using VS.NET? If so, go to the
> references under the project name and add the usercontrol there.
>
> Lisa
>
.
- References:
- using user controls in class file
- From: dl
- Re: using user controls in class file
- From: lisa
- using user controls in class file
- Prev by Date: Re: Control Deployment
- Next by Date: acces controls on aspx page from user control
- Previous by thread: Re: using user controls in class file
- Next by thread: server control serialization problem with UiTypeEditor
- Index(es):
Relevant Pages
|