Home All Groups Group Topic Archive Search About
Author
12 Nov 2005 8:18 AM
KK
Hi

I am creating a ASP.NET web server
control. I am extending a panel.

I also want to create a designer
for the panel.

The normal panel, when put into
a webform is visible as a box and
other controls can be put into it.

in my extended panel however, at
design time, I want it to show
a title and an image (whose
properties can be edited by the
property editor) The actual
extended panel should be below
this title and image. Users
should be able to drag and drop
controls into it as a normal panel

However, when i design it, i get the
title, image which works fine. but
users can't drag drop items into it!!

what am trying to make is a collapsible
panel. Sample code out there didn't had
a very intuituive designer with it.

any help is appreciated

KK

Author
14 Nov 2005 8:22 PM
Steve C. Orr [MVP, MCSD]
I already made an expanding panel control.
The full source code is available here, along with an article detailing the
design:
http://www.aspnetpro.com/NewsletterArticle/2005/12/asp200512so_l/asp200512so_l.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"KK" <k*@kk.com> wrote in message
news:u7S2QI25FHA.1248@TK2MSFTNGP14.phx.gbl...
> Hi
>
> I am creating a ASP.NET web server
> control. I am extending a panel.
>
> I also want to create a designer
> for the panel.
>
> The normal panel, when put into
> a webform is visible as a box and
> other controls can be put into it.
>
> in my extended panel however, at
> design time, I want it to show
> a title and an image (whose
> properties can be edited by the
> property editor) The actual
> extended panel should be below
> this title and image. Users
> should be able to drag and drop
> controls into it as a normal panel
>
> However, when i design it, i get the
> title, image which works fine. but
> users can't drag drop items into it!!
>
> what am trying to make is a collapsible
> panel. Sample code out there didn't had
> a very intuituive designer with it.
>
> any help is appreciated
>
> KK
>
>