DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us