|
|
|
start date: Mon, 23 Jul 2007 15:40:27 +0500,
posted on: microsoft.public.dotnet.framework.aspnet.buildingcontrols
back
| Thread Index |
|
1
Armoghan Asif
|
|
2
Riki
|
|
3
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
|
Web Container control
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
Date:Mon, 23 Jul 2007 15:40:27 +0500
Author:
|
Re: Web Container control
Armoghan Asif wrote:
> 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
You want to make a composite control with inner content.
Look here:
http://www.dotnetjunkies.com/quickstart/aspplus/doc/webctrlauthoring.aspx#innercontent
--
Riki
Date:Mon, 23 Jul 2007 15:15:24 +0200
Author:
|
Re: Web Container control
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
"Armoghan Asif" wrote in message
news:ew7ALYRzHHA.4928@TK2MSFTNGP03.phx.gbl...
> 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
>
>
>
Date:Wed, 25 Jul 2007 07:31:33 -0700
Author:
|
|
|