Home All Groups Group Topic Archive Search About
Author
20 Jul 2006 8:39 PM
knighthawkgamer
I am creating a custom control that inherits from Panel. I have the
control created but I need to figure out how to be able to drag
controls from the toolbox onto my control. Does anyone know how to
accomplish this?

Author
20 Jul 2006 9:25 PM
JerryWEC
Is this a UserControl? If it is you can just drag your user control from the
solution explorer to your aspx page.

JerryM
Author
21 Jul 2006 1:59 AM
knighthawkgamer
It is a custom server control. Not a user control. I am not having
problems adding the control to the page. I am having problems adding
other controls to this control.

Ryan

JerryWEC wrote:
Show quoteHide quote
> Is this a UserControl? If it is you can just drag your user control from the
> solution explorer to your aspx page.
>
> JerryM
Author
21 Jul 2006 4:18 PM
addup
knighthawkga***@gmail.com wrote:
> It is a custom server control. Not a user control. I am not having
> problems adding the control to the page. I am having problems adding
> other controls to this control.
>
> Ryan
>
> JerryWEC wrote:
> > Is this a UserControl? If it is you can just drag your user control from the
> > solution explorer to your aspx page.
> >
> > JerryM

Inherits System.Web.UI.WebControls.Panel  ?

Why can't you drop controls onto it? I have one like that, and it's
fine.
does it claim "Error creating control" ?

can't really say any more without looking at code

-- a --
Author
21 Jul 2006 4:55 PM
knighthawkgamer
It is a simple inherits from panel right now and when I try and drag a
control onto it I get the circle with a slash through it and the
control won't drop onto my panel.

Ryan

addup wrote:
Show quoteHide quote
> knighthawkga***@gmail.com wrote:
> > It is a custom server control. Not a user control. I am not having
> > problems adding the control to the page. I am having problems adding
> > other controls to this control.
> >
> > Ryan
> >
> > JerryWEC wrote:
> > > Is this a UserControl? If it is you can just drag your user control from the
> > > solution explorer to your aspx page.
> > >
> > > JerryM
>
> Inherits System.Web.UI.WebControls.Panel  ?
>
> Why can't you drop controls onto it? I have one like that, and it's
> fine.
> does it claim "Error creating control" ?
>
> can't really say any more without looking at code
>
> -- a --
Author
21 Jul 2006 5:41 PM
addup
knighthawkga***@gmail.com wrote:
Show quoteHide quote
> It is a simple inherits from panel right now and when I try and drag a
> control onto it I get the circle with a slash through it and the
> control won't drop onto my panel.
>
> Ryan
>
> addup wrote:
> > knighthawkga***@gmail.com wrote:
> > > It is a custom server control. Not a user control. I am not having
> > > problems adding the control to the page. I am having problems adding
> > > other controls to this control.
> > >
> > > Ryan
> > >
> > > JerryWEC wrote:
> > > > Is this a UserControl? If it is you can just drag your user control from the
> > > > solution explorer to your aspx page.
> > > >
> > > > JerryM
> >
> > Inherits System.Web.UI.WebControls.Panel  ?
> >
> > Why can't you drop controls onto it? I have one like that, and it's
> > fine.
> > does it claim "Error creating control" ?
> >
> > can't really say any more without looking at code
> >
> > -- a --


Hmm... like i said, i got one that works fine.

Code, please

-- a --
Author
21 Jul 2006 5:54 PM
knighthawkgamer
Never mind it decided it wanted to work now. I guess I just needed to
restart VS.

Ryan
knighthawkga***@gmail.com wrote:
Show quoteHide quote
> It is a simple inherits from panel right now and when I try and drag a
> control onto it I get the circle with a slash through it and the
> control won't drop onto my panel.
>
> Ryan
>
> addup wrote:
> > knighthawkga***@gmail.com wrote:
> > > It is a custom server control. Not a user control. I am not having
> > > problems adding the control to the page. I am having problems adding
> > > other controls to this control.
> > >
> > > Ryan
> > >
> > > JerryWEC wrote:
> > > > Is this a UserControl? If it is you can just drag your user control from the
> > > > solution explorer to your aspx page.
> > > >
> > > > JerryM
> >
> > Inherits System.Web.UI.WebControls.Panel  ?
> >
> > Why can't you drop controls onto it? I have one like that, and it's
> > fine.
> > does it claim "Error creating control" ?
> >
> > can't really say any more without looking at code
> >
> > -- a --
Author
22 Jul 2006 8:53 AM
bhar
Hi,

See the post i have done in ASP.Net forum
(just above this forum). I have given differences between User control
and Custom server control.

Hope it helps you. More articles, log on to: http://www.vkinfotek.com

Regards
bhar




knighthawkga***@gmail.com wrote:
> *I am creating a custom control that inherits from Panel. I have the
> control created but I need to figure out how to be able to drag
> controls from the toolbox onto my control. Does anyone know how to
> accomplish this? *



--
bhar
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message2426947.html
Author
25 Jul 2006 1:40 PM
knighthawkgamer
I already know the difference. Please stop trying to promote yourself.
The problem has been resolved and it works like I expect it to. I have
created multiple custom server controls and so I know the difference.

bhar wrote:
Show quoteHide quote
> Hi,
>
> See the post i have done in ASP.Net forum
> (just above this forum). I have given differences between User control
> and Custom server control.
>
> Hope it helps you. More articles, log on to: http://www.vkinfotek.com
>
> Regards
> bhar
>
>
>
>
> knighthawkga***@gmail.com wrote:
> > *I am creating a custom control that inherits from Panel. I have the
> > control created but I need to figure out how to be able to drag
> > controls from the toolbox onto my control. Does anyone know how to
> > accomplish this? *
>
>
>
> --
> bhar
> ------------------------------------------------------------------------
> Posted via http://www.mcse.ms
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message2426947.html