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

Missing property on GridViewDataColumn

2 Answers 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Toby
Top achievements
Rank 1
Toby asked on 24 Jun 2010, 04:49 PM
Hi,

I've been looking through the DataGrid documentation (the WPF Demos, looking at the code behind) and there is a CellTemplateSelector property used:

<telerik:GridViewDataColumn Header="UnitPrice" DataMemberBinding="{Binding UnitPrice}" 
                            CellTemplateSelector="{StaticResource selector}" DataFormatString="{}{0:c}" /> 
(Demo: Controls -> Data -> GridView -> DataTemplateSelectors -> Templating cells -> example.xaml)

Im using the RadControls for WPF Q1 2010 SP2, however this property does not appear, I can set the property CellTemplate property but not a CellTemplateSelector. Should this be possible?

<telerik:GridViewDataColumn UniqueName="direction"   
                            Header="Direction" DataMemberBinding="{Binding Path=eventDirection}"/> 

Thank you,

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 25 Jun 2010, 07:07 AM
Hello Toby,

 Can you verify if your project is referencing properly this version? Can you send us the project to check your references?

Sincerely yours,
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
0
Toby
Top achievements
Rank 1
answered on 25 Jun 2010, 08:47 AM
Hi Vlad,

Sorry it was my mistake the version used within the project hadn't updated correctly. After VS ran through the update (which it picked up after about 2 hours) it worked fine.

Thank you.
Tags
GridView
Asked by
Toby
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Toby
Top achievements
Rank 1
Share this question
or