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

Converter for GridViewDataColumn

1 Answer 71 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 07 Jan 2009, 11:38 PM
Hi,
I need to display date in GridViewDataColumn. When the year is less then 1980, I dont want to display anything. How this can be done?
Thanks

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 09 Jan 2009, 12:48 PM
Hi Frank,
I have attached a sample project. It demonstrates the use of a custom value converter to conditionally display a date depending on the value. The value converter replaces the date with an empty string whenever the year is less than 1980.

Regards,
Pavel Pavlov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Frank
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or