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

Number Value display on grid export

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lakshmi Thangaraj
Top achievements
Rank 1
Lakshmi Thangaraj asked on 09 Feb 2011, 12:58 PM
Hai


I am exporting the grid values to pdf,Excel and Word. when i am exporting the grid with the value "0" it displayed as "0.00" in Excel. But when i am exporting the same grid to word or PDF  the value "0" it displayed as "0". How Can i display the value as "0.00" in pdf and word also.



Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 11 Feb 2011, 10:59 PM
Hello Lakshmi,

The easiest way would be to use DataFormatString. Alternatively you can change the values manually in the ItemDataBound event:

Regards,
Daniel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Lakshmi Thangaraj
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or