Article View: borland.public.delphi.aspdotnet.components.using
Article #79Adding webcontrols at running time
From: Fabricio Vargas Matos
Date: Fri, 09 Sep 2005 05:55
Date: Fri, 09 Sep 2005 05:55
16 lines
1325 bytes
1325 bytes
Can I instantiate a new webcontrol (a TextBox, for example) at runtime? I would like to do something like: TextBox := System.Web.UI.WebControls.TextBox.Create; TextBox.Page := self; ... and have a new TextBox in the web page. But, of course, there ins't any reference of this TextBox in the aspx file, so.... Any idea? Thanks, Fabricio.
Technical Details
Message-ID:
<4321238a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 21665a,f252a3da4b2c687a,start X-Google-Attributes: gid21665a,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Fabricio Vargas Matos" <fabricio@qualidata.com.br> Newsgroups: borland.public.delphi.aspdotnet.components.using Subject: Adding webcontrols at running time Date: Fri, 9 Sep 2005 02:55:13 -0300 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 201.29.73.178 Message-ID: <4321238a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1126245258 201.29.73.178 (8 Sep 2005 22:54:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail