Datalist Layout spacing problems, row space

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Datalist Layout spacing problems, row space

    Just in case this is driving anyone else besides me nuts....

    I set up a datalist with Layout=Table. This caused a blank space to
    appear between rows. I got rid of this by changing to Layout = Flow.

    So far, so good. However, with Flow layout a large empty space appeared
    above my Datalist. I finally got rid of this by changing the Datalist's
    RepeatDirection = Horizontal. (Why this worked, I don't know. After
    several hours of dinking with this, I almost don't care...I think it
    stopped the generation of an extra span tag.)

    Note that my Datalist is inside a Table with one row, one cell. This is
    for my own display reasons, which I won't go into. Also, the DataList
    contains a Table, because I needed to set up the list to split one
    datasource row into several rows.

    Hope this helps someone else tearing their hair out like I was.
    NancyASAP

    NancyASAP Guest

  2. Similar Questions and Discussions

    1. Datalist RepeatLayout Flow spacing problems
      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....
    2. Problems with spacing bestween text
      Whenever i hit the spacebar twice to put two spaces between words i only get one space? Is there a setting i need to change? Also...evertime i...
    3. Nested Datalist Formatting Problems
      I'm having trouble getting a nested datalist to display properly. It needs to be displayed in three columns. When the nested datalist has one item...
    4. Why non-braking space does not follow letter-spacing?
      Is there some reason that non-braking space does not follow word spacing values just like regular space does, or is it just sloppy programming from...
    5. line spacing problems in Flash MX 2004?
      When I open a Flash MX or earlier file in Flash MX 2004 Professional, I have noticed that the line spacing on alot of my text has been expanded...
  3. #2

    Default Re: Datalist Layout spacing problems, row space

    Nancy cant thank you enough !! how the hell did you find that out??

    Quote Originally Posted by NancyASAP View Post
    Just in case this is driving anyone else besides me nuts....

    I set up a datalist with Layout=Table. This caused a blank space to
    appear between rows. I got rid of this by changing to Layout = Flow.

    So far, so good. However, with Flow layout a large empty space appeared
    above my Datalist. I finally got rid of this by changing the Datalist's
    RepeatDirection = Horizontal. (Why this worked, I don't know. After
    several hours of dinking with this, I almost don't care...I think it
    stopped the generation of an extra span tag.)

    Note that my Datalist is inside a Table with one row, one cell. This is
    for my own display reasons, which I won't go into. Also, the DataList
    contains a Table, because I needed to set up the list to split one
    datasource row into several rows.

    Hope this helps someone else tearing their hair out like I was.
    NancyASAP
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139