Groups | Blog | Home
all groups > asp.net building controls > july 2007 >

asp.net building controls : Web Container control


Riki
7/23/2007 3:15:24 PM
[quoted text, click to view]

You want to make a composite control with inner content.

Look here:
http://www.dotnetjunkies.com/quickstart/aspplus/doc/webctrlauthoring.aspx#innercontent

--
Riki

Armoghan Asif
7/23/2007 3:40:27 PM
Hi,
I am relatively new to ASP.NET but has worked on Windows Forms for 4-5 years

How to make a web container control, which has a header/Footer, Right and
left panel and inside it is a Panel/Div anything which can container other
controls.

I want to create such a control using designer and then when the programmer
adds it to his Page using drag and drop from toolbox, he should be able to
add other controls like Button etc in the place holder created for him

Is this possible to achieve?
Any sample /web site link would be highly Appriciated

Regards
Armoghan


Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
7/25/2007 7:31:33 AM
I've posted an example here that accomplishes your goal by inheriting from
the Panel control and extending it with custom sections
Here are all the details:
http://SteveOrr.net/articles/VisiPanel.aspx

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


[quoted text, click to view]
AddThis Social Bookmark Button