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

[Solved] Converter in GridViewDataColumn

1 Answer 170 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.
Virendra
Top achievements
Rank 1
Virendra asked on 24 Apr 2009, 10:37 AM

Hi,
I have DatePicker type of GridViewDataColumn in which I want to implement my custom “Converter”.

Something like this
<Controls:VGridViewDataColumn HeaderText="RegistrationDate" UniqueName="RegistrationDate" Converter={StaticResource MyConverter}>
              
What is the way to do it?

Thanks
Virendra.k

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 24 Apr 2009, 11:57 AM
Hello Virendra,

You will need to assign converter for the column binding:

<Controls:VGridViewDataColumn HeaderText="RegistrationDate" UniqueName="RegistrationDate"  DataMemberBinding="{BInding RegistrationDate, Converter={StaticResource MyConverter}}">

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Virendra
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or