Listview Order

3 posts, 0 answers
  1. Michael
    Michael avatar
    6 posts
    Member since:
    Apr 2012

    Posted 25 Apr 2012 Link to this post

    I have same questions here. In listview the order of next data is shown like this :
    Data1  Data2  Data3
    Data4  Data5  Data6
    Data7  Data8  Data9
    ................................

    Instead horizontal, can the next data be shown vertically like this :
    Data1  Data4  Data7  ::
    Data2  Data5  Data8  ::
    Data3  Data6  Data9  ::

    Thanks b4.
  2. jumpstart
    jumpstart avatar
    479 posts
    Member since:
    Nov 2011

    Posted 27 Apr 2012 Link to this post

    Michael:

    The predefined layouts available for the RadListView are covered on the Understanding the HTML Output and CSS Styling documentation page and demonstrated in this online demo. It would be difficult to define a custom template to transpose the display of the listview items.

    I believe that the best way to accomplish this is to transpose your data prior to assigning it as the RadListView.DataSource.

    Here are a couple of articles relating to this option:
    Transpose or just rows as columns
    Transpose a DataTable using C#

    I hope this helps!

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael
    Michael avatar
    6 posts
    Member since:
    Apr 2012

    Posted 01 May 2012 Link to this post

    Jumpstart:

    Thanks for your help. I will try it first.
Back to Top