lopping off the text at the end

  • Thread starter Thread starter roko
  • Start date Start date
R

roko

How do I lop off a long text at the end in ASP.NET to prevent it from
wrapping? Do I count the number of characters then do a concatenation? Or
is there a better way, i.e. looking at the size of the DataGrid Column then
work our way back with the text size?

This is a long text a ...
This is another long ...
Yet another long te ...

What is the terminology for that anyway so I may search for the sample code?

Thanks,
-roko
 
Nice try, but no go. The characters, for example the "e", has been sliced
and diced in 1/2 at that certain point. It is not a workable solution...

Any other ideas?
 
Back
Top