Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Webcontrol custom designer

Reply
Thread Tools

Webcontrol custom designer

 
 
KK
Guest
Posts: n/a
 
      11-12-2005
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


 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      11-14-2005
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/NewsletterA...200512so_l.asp

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


"KK" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
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
Webcontrol custom designer KK ASP .Net Building Controls 1 11-14-2005 08:22 PM
Custom webcontrol that references another webcontrol Fabricio ASP .Net Building Controls 0 09-21-2005 02:55 AM
Custom WebControl, custom property list Curt_C [MVP] ASP .Net Web Controls 0 09-01-2005 04:09 PM
Trapping an Exception ocurring in a Webcontrol at the Page or parent WebControl level. ASP .Net 2 01-31-2005 06:34 PM
WebControl Designer Problem using Custom Collection Todd Lucas via .NET 247 ASP .Net Building Controls 2 05-28-2004 02:34 PM



Advertisments