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?
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?