Module Discussions
Multiple Columns
Last Post 7/23/2009 04:36 AM by David O'Leary. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
Please login to post a reply.
Author Messages
Robert HoutsUser is Offline
New Member
New Member
Posts:1

--
7/23/2009 12:54 AM  
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'LearyUser is Offline
Efficion Consulting Staff
Posts:181
Avatar

--
7/23/2009 04:36 AM  
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.

Active Forums 4.1
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com