R
Roy H. Berger
I have a datagrid that I am having text wrapping problems with. And
the wrapping problems only happen with text containing long urls. If
I set the column width to a fixed width through the ItemStyle-Width
property in the ASPX file, the text above and below the url honor that
fixed setting. Also, I have set the Wrap=True property both on the
datagrid as well as the column. So if you have the following:
This is a test. This is a test. This
is a test. This is a test. This is
a test. This is a test.
http://www.someurl.com/a/...........................................
This is a test. This is a test. This
is a test. This is a test. This is
a test. This is a test.
The text above and below the url honor whatever width setting I
select. However the long url (like a link to a mapquest map), causes
the width of the cell to extent out beyond the right edge of the page.
Nothing I do seemes to force the hrl to wrap within the cell. I
could brute force the rendering of the text contents of the cell and
break the lines after so many characters, but inserting a <br> into
the url would break the url.
Any thoughts on this problem would be appreciated.
Thanks in advance.
Roy
(e-mail address removed)
the wrapping problems only happen with text containing long urls. If
I set the column width to a fixed width through the ItemStyle-Width
property in the ASPX file, the text above and below the url honor that
fixed setting. Also, I have set the Wrap=True property both on the
datagrid as well as the column. So if you have the following:
This is a test. This is a test. This
is a test. This is a test. This is
a test. This is a test.
http://www.someurl.com/a/...........................................
This is a test. This is a test. This
is a test. This is a test. This is
a test. This is a test.
The text above and below the url honor whatever width setting I
select. However the long url (like a link to a mapquest map), causes
the width of the cell to extent out beyond the right edge of the page.
Nothing I do seemes to force the hrl to wrap within the cell. I
could brute force the rendering of the text contents of the cell and
break the lines after so many characters, but inserting a <br> into
the url would break the url.
Any thoughts on this problem would be appreciated.
Thanks in advance.
Roy
(e-mail address removed)