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

[Solved] Column that has DateTime.MinValue

1 Answer 129 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.
Joe Lozina
Top achievements
Rank 1
Joe Lozina asked on 17 Sep 2010, 02:46 AM
Hi

I have Column in my RadGridView that is a DateTime field. When a null value comes from the database it assigns the value DateTime.MinValue to the field.

What is the best way to display an empty cell (no date dispalyed) if the value is DateTime.MinValue?

Regards,
Joe

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Sep 2010, 06:40 AM
Hello,

 You can load different content conditionally using this approach

Kind regards,
Vlad
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
Joe Lozina
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or