Hi Alex,
I suspect that you're up against a limitation of HTML.
Your best bet would be to test the content of the column when the grid item
is bound and then trim the text to an acceptable length. You should be able
to do this in the ItemDataBound event.
Ken
MVP [ASP.NET]
[quoted text, click to view] "Alex Maghen" <AlexMaghen@discussions.microsoft.com> wrote in message
news:8AD2D209-7E03-4544-8C14-E931A8724DB1@microsoft.com...
> Hi. Is there a way to configure a DataBound column (or any other column)
> in a
> DataGrid control so that, no matter what, it will not be wider than a
> certain
> number of pixels? My problem is that with some unicode text, IE can't find
> a
> line break so it doesn't wrap the text, it just streaches out the width of
> the column. I need it to just cut the text off in those circumstances.
>
> Ideas?
>
> Alex