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

[Solved] DataFormatString with custom formatters

3 Answers 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan Morgan
Top achievements
Rank 1
Ryan Morgan asked on 23 Sep 2009, 11:11 AM
Hi,

Is there the way how to apply custom formatters to GridViewDataColumn values ?

Thanks

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Sep 2009, 11:16 AM
Hi Ryan,

You can use IValueConverter for the column DataMemberBinding instead if you want to apply different format for your cells content.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ryan Morgan
Top achievements
Rank 1
answered on 23 Sep 2009, 11:27 AM
Hi Vlad,

Thanks for your quick responce. But i'm not sure my converted value will be populated during export to HTML. I need them both to be the result of formatting.

Thanks, Ryan
0
Vlad
Telerik team
answered on 29 Sep 2009, 05:42 AM
Hello Ryan,

Other possible approach will be to format your data using the grid Exporting event.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Ryan Morgan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Ryan Morgan
Top achievements
Rank 1
Share this question
or