This is a migrated thread and some comments may be shown as answers.

Format text with trailing dots

1 Answer 177 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 20 Jul 2010, 10:18 PM
I'm building a report where dollar amounts are displayed to the right of production descriptions. My customer would like to have the report display trailing dots (".....") between the end of the product description and the dollar amount, very much like a restaurant menu. I have tried padding the display value with a large number of dots and disabling the "Can grow" property, but that doesn't seem to work; somehow the dots are simply not rendered if the length of the textbox value becomes too long. I've also just added a dotted bottom border to the textbox, but my customer doesn't like the way that is diplayed; they want the dotted line to appear just to the right of the product description, not beneath it, which is what a bottom border will do.

Is there another technique that would work? Maybe a custom formatting string of some kind?

1 Answer, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 23 Jul 2010, 05:12 PM
Hi Brian,

You can separate the dots with spaces to prevent hiding them.

All the best,
Hrisi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Share this question
or