Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DataList Turned Into A Table

Hi,

I have a DataList control on a custom .aspx page. How do I stop the codebehind from moving my DataList items into table cells. Here is an example of what ends up happening when I view the page source:

<table id="ctl00_mainslot_dlFileList" cellspacing="0" border="0" style="border-collapse:collapse;">
	<tr>
		<td>
        <li>List Item 1</li>
    </td>
	</tr><tr>
		<td>
        <li>List Item 2</li>
    </td>

Thanks,

David

Former Member
Former Member replied

Hello David,

I think what you are looking for here is RepeatLayout = Flow switch on the DataGrid/DataList.

Here is a little bit of information on it:

[http://forums.asp.net/p/955037/1176443.aspx]

James

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question