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

Null value handling in Radgridview

1 Answer 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nandkishor Phalke
Top achievements
Rank 1
Nandkishor Phalke asked on 26 Jul 2010, 10:35 AM
hello , 

   I am displying data in grid in the form of double value . 
   If null is replaced by NaN in datagrid .
   How can i replace it by    '-'  .

Thanks , 
Nandkishor.
 

1 Answer, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 26 Jul 2010, 11:50 AM
Hi Nandkishor Phalke,

 You need to use a ValueConverter in your Binding, which checks if the double? is null and return '-';

Kind regards,
Yavor Georgiev
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
GridView
Asked by
Nandkishor Phalke
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or