🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.aspdotnet.components.using
Article #167

Re: excuse mr

#167
From: Marc Rohloff TeamB
Date: Fri, 31 Mar 2006 21:41
19 lines
1875 bytes
On Sat, 18 Mar 2006 21:56:39 +0200, FAOsoft wrote:

>  i don't want to use textbox in panel, table etc

Sorry my mistake, you cannot add a control directly to a page.
The easiest way *is* to add a panel to your page and go:
  Panel1.Controls.Add(newTextBox)
The panel isn't usually visible so it shouldn't be much of an issue.

If you really don't want to add a panel then you need to find the form
control and add them there.
In ASP.NET 1.1 the form is (almost) always at Page.Controls[0] so the
following should work:
  Controls[0].Controls.Add(newTextBox);
  
  
-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <vstlucz3hksc$.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <442c08da@newsgroups.borland.com> <1kx2lnr3ybqa7$.dlg@dlg.marcrohloff.com> <442d7a72@newsgroups.borland.com> <442d7b5d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,5548b2d3ddad4d64
X-Google-Attributes: gid21665a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: excuse mr
Newsgroups: borland.public.delphi.aspdotnet.components.using
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <442c08da@newsgroups.borland.com> <1kx2lnr3ybqa7$.dlg@dlg.marcrohloff.com> <442d7a72@newsgroups.borland.com> <442d7b5d@newsgroups.borland.com>
Date: Fri, 31 Mar 2006 16:41:10 -0500
Message-ID: <vstlucz3hksc$.dlg@dlg.marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 0613-2, 03/31/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1143841266 65.31.1.121 (31 Mar 2006 13:41:06 -0700)
Lines: 19
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail