Yes, simply add extra elements to the Collection or rows to the DataTable
(depending on what you use as the DataSource). If necessary, you can add
code to the ItemDataBound event to hide these extra elements or rows.
However, the basic concept is to add extra elements or rows to the
DataSource so that the DataList creates the correct number of columns. If
you would like any help adding this to your code, feel free to ask. Good
Luck!
--
Nathan Sokalski
nj********@hotmail.com http://www.nathansokalski.com/
"beachboy" <jp********@yahoo.com.hkwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
hello,
I have set "RepeatColumns" on myDataList = 5, if the reminder of itemdata
is
not multiple of 5.. e.g: only have 3 items. then the display will break...
any method i can solive this and add empty columns if the output is less
than 5?
Thanks in advanced.