I use a Datagird with Width=850
, and 4 BoundColumn
, which I want them to be always in the same size.
So, for each BoundColumn
, I gave ItemStyle-Width="25%".
It's working just fine, unless there is a long string in the BoundColumn
,
In this case, it's not 25% anymore, the BoundColumn
become as long as the value string inside.
I don't want it to act like this, I want that when the string value is long, It will be wrapped.
And the string will be divided into 2 lines (or more) and the BoundColumn
will stay 25% Width.
I Googled it and found the ItemStyle-Wrap="True"
attribute for the BoundColumn
, but it's not working.
What should I do?
Is there any answer?