Derive from System.Web.UI.WebControls.Panel
I would like to create a user control that derives fromSystem.Web.UI.WebControls.Panel and shows up at design time likea Panel so I can drop other controls into it. The customercontrol will have my content border so that I can easilyseperate content HTML from control HTML.
Thanks for all your help,
From: David Smith
Posted by a user from .NET 247 (http://www.dotnet247.com/)
Re: Derive from System.Web.UI.WebControls.Panel
David Smith via .NET 247 <email@example.com> wrote in
> I would like to create a user control that derives from
> System.Web.UI.WebControls.Panel and shows up at design time like a Panel
> so I can drop other controls into it. The customer control will have my
> content border so that I can easily seperate content HTML from control
User controls are special container controls. They dont just descend from
anything. Do you want a user control or a custom control?
If you want a user control, declare a new user control and put a panel on it.
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Get your ASP.NET in gear with IntraWeb!
|All times are GMT. The time now is 04:45 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.