Module Discussions

Module Discussions

Multiple Columns
Last Post 7/22/2009 09:36 PM by David O'Leary. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
Please login to post a reply.
Author Messages
Robert Houts
New Member
New Member
Posts:1
Avatar

--
7/22/2009 05:54 PM
    One of your screenshots has a sample 3-column template. At the bottom it says that this can be easily created by just setting the RepeatColumns property of the dataset. Would you elaborate on that? How is this done?
    David O'Leary
    Efficion Consulting Staff
    Basic Member
    Basic Member
    Posts:151
    Avatar

    --
    7/22/2009 09:36 PM
    If you can wait a couple days, a three-columns and a two-column template will be included in version 4.1 which I plan to release very soon.

    To add this to you're own template, you simply need to add to additional parameters to the datalist tag, RepeatColumns="3" RepeatDirection="Horizontal".

    So, the datalist declaration would look something like:
    <asp:DataList id="lstArticles" CssClass="ArticleList" RepeatColumns="3" RepeatDirection="Horizontal" ItemStyle-CssClass="threeColumn" runat="server" OnItemDataBound="Item_Bound" EnableViewState="false" CellSpacing="4" CellPadding="4" Width="100%">
    Please login to post a reply.