C#: order of TableRows in Table

Discussion in 'ASP .Net' started by panik, Nov 7, 2003.

  1. panik

    panik Guest

    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
     
    panik, Nov 7, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Bancroft
    Replies:
    3
    Views:
    8,438
    Jim Bancroft
    Dec 18, 2004
  2. =?Utf-8?B?TWFyayBQYXJ0ZXI=?=

    TableRows and Postback

    =?Utf-8?B?TWFyayBQYXJ0ZXI=?=, May 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    855
    William F. Robertson, Jr.
    May 4, 2005
  3. Shak
    Replies:
    1
    Views:
    315
    Eliyahu Goldin
    Sep 27, 2005
  4. Soren Kuula
    Replies:
    2
    Views:
    529
    Soren Kuula
    Feb 1, 2004
  5. cspoh
    Replies:
    0
    Views:
    264
    cspoh
    Jul 31, 2003
Loading...

Share This Page