Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

C# 2.0 Web form Table Control question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason Huang - 27 Mar 2008 09:30 GMT
Hi,

How to insert another Control into a C# 2.0 Webform Table control?
I am trying to have a 1 by 2 table, in the left column I have a tree view,
while in the left column I have a panel.
Thanks for help.

Jason
Peter Bromberg [C# MVP] - 27 Mar 2008 12:27 GMT
This is probably more of an ASP.NET newsgroup question. You add controls to a
TableCell in your table. You would use the .Controls.Add(yourControl) method.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net

> Hi,
>
[quoted text clipped - 4 lines]
>
> Jason
Ignacio Machin ( .NET/ C# MVP ) - 27 Mar 2008 19:09 GMT
On Mar 27, 7:27 am, Peter Bromberg [C# MVP]
<pbromb...@yahoo.NoSpamMaam.com> wrote:
> This is probably more of an ASP.NET newsgroup question. You add controls to a
> TableCell in your table. You would use the .Controls.Add(yourControl) method.
[quoted text clipped - 13 lines]
>
> - Show quoted text -

You use the Controls property of the cell.
For example outerTable.Rows[0].Cells[0].Controls.Add( ) will add a
control to the top left cell

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.