Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 2nd, 2004, 01:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Composite Controls

Hello,

I've created a composite control. Whenever I establish style information (forecolor, backcolor, etc.) for the composite control, how do i assign these properties to the child controls (in the CreateChildControls method) without assigning it in this method:

Dim objLink as New LinkButton
With objLink
    .ID = "MyID"
    .Text = "Text"
    .ForeColor = MyClass.ForeColor
    .BackColor = MyClass.BackColor
    .BorderColor = MyClass.BorderColor
    ... (etc) ...
End With

Thanks,

Brian
__________________
Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
AssociateControlID problem with Composite Controls ctt BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 0 May 12th, 2008 11:06 AM
Composite Controls origjones General .NET 2 August 31st, 2006 09:58 AM
PLEASE HELP - Composite Control brettk_1 ASP.NET 1.0 and 1.1 Professional 0 August 3rd, 2005 06:22 AM
Composite Control bmains .NET Framework 2.0 0 July 25th, 2005 12:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.