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

RadGridView column FormatString

1 Answer 161 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ali
Top achievements
Rank 1
ali asked on 25 Sep 2009, 07:04 AM
Hi,

I have two radgridview. The first has only MasterGridviewTemplate, the second has MasterGridviewTemplate and ChilGridViewTemplate.

The first grid has a column name is Price. It's FormatString is {0:#,##0.00} . it shows prices like 8.26 although incoming values is 8.2600. It is good, I want to this.

But I could not achive this on the second grid's ChildGridViewTemplate. On the second grid's ChildGridViewTemplate has a column name is Price. It's FormatString is {0:#,##0.00} . But it shows prices like 8.2600. I want to show it as 8.26.


Please help.

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 30 Sep 2009, 12:56 PM
Hi ali,

Since I cannot reproduce your issue, I've prepared an example which demonstrates how to use DataFormatString functionality in hierarchy case.

Let me know how this works on your end.
If this does not cover your scenario please provide me with more detailed information about your project, or detailed steps how to simulate this.

Regards,
Nedyalko Nikolov
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
ali
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or