Article View: borland.public.delphi.aspdotnet.components.using
Article #95Re: How? Referencing a User Control in a User Control.
From: Kyle A. Miller
Date: Tue, 04 Oct 2005 20:28
Date: Tue, 04 Oct 2005 20:28
10 lines
1607 bytes
1607 bytes
Nick Hodges [TeamB] wrote: > You can add the reference, as Yorai noted, but to me, this is a "code > smell", or an indication that there's a a better, cleaner way to do > what you really want to do. I have a header control and wanted to add a menubar to it which would display based on the user's authentication. The menubar, a user control, is inserted into the header control. It sits in a panel so I control its visibility. The panel may not be necessary, but it's what I got working at the time.
Technical Details
Message-ID:
<4342e4fd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<433dc552$1@newsgroups.borland.com> <433e95ae$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,206b263679172720 X-Google-Attributes: gid21665a,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 04 Oct 2005 15:28:25 -0500 From: "Kyle A. Miller" <kyle#REMOVE@millerdevelopment.info> User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 Newsgroups: borland.public.delphi.aspdotnet.components.using Subject: Re: How? Referencing a User Control in a User Control. References: <433dc552$1@newsgroups.borland.com> <433e95ae$1@newsgroups.borland.com> In-Reply-To: <433e95ae$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.0.152.23 Message-ID: <4342e4fd$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1128457469 24.0.152.23 (4 Oct 2005 13:24:29 -0700) Lines: 10 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail