Siv
asked on
asp.net stop listview cells from wrapping
I have a ListView control on a ASP form and I want to stop the individual cells from wrapping when the content is wider than the width of the cell. How can you do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Brilliant I just surrounded the table in the Layout template with your span and it works:
<span style="white-space: nowrap;">
<table id="itemPlaceholderContain
<tr runat="server" style="background-color:ro
<th runat="server">Select Item</th>
<th runat="server">Customer Name</th>
<th runat="server">Store Name</th>
<th runat="server">Officer Name</th>
<th runat="server">Total Amount</th>
</tr>
<tr id="itemPlaceholder" runat="server" >
</tr>
</table>
</span>
Thanks for your help.
Siv