This is a migrated thread and some comments may be shown as answers.

Gridview

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Azees
Top achievements
Rank 1
Azees asked on 24 Sep 2008, 09:38 AM

I ma using Grid view for bind Some text ....

if the text is too long like(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)...

when my page is expanded the design is collopsed... but Same text is having any space its automatically come to next line

how to i avoid this problem...

 

<telerik:GridBoundColumn HeaderText="Message" DataField="Description" UniqueName="Description"></telerik:GridBoundColumn>

i put  ItemStyle-Wrap property but ther is no change

1 Answer, 1 is accepted

Sort by
0
Accepted
Prangadj
Top achievements
Rank 1
answered on 24 Sep 2008, 10:08 AM
My method is to handle the ItemDataBound event of the grid, get the cell with the long text by its unique name and substring its Text value to show only some of the characters in it and append several dots at the end.

Prangadj
Tags
General Discussions
Asked by
Azees
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Share this question
or