Following is the column template :
<telerik:GridBoundColumn UniqueName="Column1" Visible="true" ShowSortIcon="true">
<ItemStyle Wrap="true" />
</telerik:GridBoundColumn>
The ItemDataBound Column will look like this.
protected void Grid_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
GridDataItem dataBoundItem = e.Item as GridDataItem;
if (dataBoundItem["Column1"].Text.Length > 10)
{
dataBoundItem["Column1"].Text = dataBoundItem["Column1"].Text.Substring(0, 10) + "...";
}
}
}
Hope this helps J
Thank You J
COULD YOU WOULD SUGGEST https://imgur.com/a/exldh4B http://lmw6m13hfe.dip.jp http://32br9g7xpe.dip.jp https://imgur.com/a/mqdIU2g https://imgur.com/a/wseA4Ma https://imgur.com/a/9KayJaQ https://imgur.com/a/dMn6m3u
ReplyDelete