Article View: borland.public.delphi.aspdotnet.components.using
Article #89How? Referencing a User Control in a User Control.
From: Kyle A. Miller
Date: Fri, 30 Sep 2005 23:11
Date: Fri, 30 Sep 2005 23:11
9 lines
1317 bytes
1317 bytes
Can anyone tell me if how do I reference a user control in code which is placed inside user control? Example: Create user control; call it menubar. Create a second user control; call it header. Insert menubar into header and add code to set menubar.visible to False in the PageLoad event. When you insert a user control, there's no declaration in the containing class.
Technical Details
Message-ID:
<433dc552$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 21665a,206b263679172720,start X-Google-Attributes: gid21665a,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 30 Sep 2005 18:11:41 -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: How? Referencing a User Control in a User Control. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.0.152.23 Message-ID: <433dc552$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1128121682 24.0.152.23 (30 Sep 2005 16:08:02 -0700) Lines: 9 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail