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

managing text inside cell

3 Answers 36 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yaroslav
Top achievements
Rank 1
Yaroslav asked on 09 Apr 2012, 01:59 PM
Hi,

I have a text inside a cell, composed of two dates. What I want is to format first date and the second one with different colors and size.

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 12 Apr 2012, 12:26 PM
Hello Yaroslav,

Thank you for writing.

A possible way to achieve the desired appearance is to use our Html-like formatting functionality:  http://www.telerik.com/help/winforms/tpf-html-like-text-formatting.html.

Attached you can find a sample application demonstrating how to do that. Please note that in my sample I have a semicolon (";") between the dates, which I am using to separate them.

I hope that you find this information useful. Let me know if I can be of further assistance.
 
Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Yaroslav
Top achievements
Rank 1
answered on 12 Apr 2012, 12:43 PM
Thanks! worked at first test, now it is time to play with all the new possibilities this method can offer.
0
Stefan
Telerik team
answered on 17 Apr 2012, 08:12 AM
I am glad I could help. Let us know if you have any other questions.

Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Yaroslav
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Yaroslav
Top achievements
Rank 1
Share this question
or