Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > C#: order of TableRows in Table

Reply
Thread Tools

C#: order of TableRows in Table

 
 
panik
Guest
Posts: n/a
 
      11-07-2003
Hi,

In a custom UserControl class I'm defining a Table (Structure) and two
TableRows(Header,Navigation)

I'm adding both rows to the Table like this:

Structure.Rows.Add(Header);
Structure.Rows.Add(Navigation);

The HTML generated places the Navigation row first, and the header row
second.

using AddAt and giving the Header row index 1 and the Navigation row index 0
displays them in the correct order.

Any ideas?

thanks,
Vincent


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bordering individual tablerows in a datatable Shak ASP .Net 1 09-27-2005 10:26 AM
TableRows and Postback =?Utf-8?B?TWFyayBQYXJ0ZXI=?= ASP .Net 2 05-04-2005 01:36 PM
How to dynamically add TableRows in asp.net? Jim Bancroft ASP .Net 3 12-18-2004 12:13 AM
Table/table rows/table data tag question? Rio HTML 4 11-05-2004 08:11 AM
Could not load type VTFixup Table from assembly Invalid token in v-table fix-up table. David Williams ASP .Net 2 08-12-2003 07:55 AM



Advertisments