Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataLists and RepeatColumns

Status
Not open for further replies.

dmears1

Technical User
Jun 18, 2003
208
US
I have a datalist set with RepeatColumns=3 and Width=100%.
If there are 3 or more items everything displays correctly, meaning each itemtemplate is 33% in width for each row. However, if there are only 2 items, each itemtemplate is 50% in width and if there is only one the itemtemplate width is 100%.

Is there a way to force the datalist to not expand the width of itemtemplates if there are less items than specified in repeatcolumns?

 
hi,

what datasource are you using to bind the datalist???

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top