[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Armoghan Asif

7/23/2007 10:40:00 AM

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



2 Answers

Riki

7/23/2007 1:15:00 PM

0

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#in...

--
Riki


Steve C. Orr, MCSD

7/25/2007 2:32:00 PM

0

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://St.../articles/Visi...

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


"Armoghan Asif" <armoghan@yahoo.com> 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
>
>
>