lopping off the text at the end

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
 
R

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top