C#: order of TableRows in Table

P

panik

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top