Datalist RepeatLayout Flow spacing problems

Discussion in 'ASP .Net Datagrid Control' started by ree32, Oct 29, 2004.

  1. ree32

    ree32 Guest

    I am using Repeatlayout flow on my datalist so I can have my table
    layout outside the datalist. But its crapping this huge spacing above
    the table. The spacing is proportional to the number of records in the
    datalist.

    This table is in the main table.

    Here is a bit of the code

    <table class="search">
    <asp:DataList ID="listSearch" RepeatLayout=Flow Runat=server >
    <ItemTemplate>
    <tr><td><%# Container.DataItem("col1") %></td>
    <td><%# Container.DataItem("col2") %></td><tr>
    </ItemTemplate>
    </asp:DataList>
    </table>


    When I looked at the source produced by the browser IE. i saw this
    Span tag

    <table class="jobSearch">
    <span id="listSearch"><span>
    <tr><td>041221</td>...


    I believe this useless span tag is causing this spacing. Is there
    anyway around this stupid mess?

    Thanks
    ree32, Oct 29, 2004
    #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. Marcos MOS

    DataList RepeatLayout=Flow

    Marcos MOS, May 4, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    7,641
    Marcos MOS
    May 5, 2004
  2. Chris Auer
    Replies:
    0
    Views:
    1,606
    Chris Auer
    Feb 8, 2005
  3. Jack Dowson
    Replies:
    0
    Views:
    453
    Jack Dowson
    May 7, 2007
  4. NancyASAP

    Datalist Layout spacing problems, row space

    NancyASAP, Jun 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    242
    NancyASAP
    Jun 8, 2005
  5. Timo

    CheckBoxList RepeatLayout formatting question

    Timo, Apr 13, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    142
Loading...

Share This Page