I have a column in asp.net gridview. The string in the column is very long and no white space. So I want to wrap it with ellipsis.
But I can’t use text-overflow since it is not recongnized by CSS.
My code:
<asp:TemplateField HeaderText="MD9" ItemStyle-Width="200px">
<ItemTemplate>
<div style="width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
<%# Eval("MD9")%>
></div>
</ItemTemplate>
</asp:TemplateField>
How to change it?
You need to update your CSS3 Intellisense Schema with the Web Standards Update for Microsoft Visual Studio 2010 SP1.