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

Header not calling Converter

0 Answers 32 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 16 May 2011, 09:39 AM
I have a GridView, and I am trying to set the Header text using a converter, e.g.,

<telerik:GridViewDataColumn UniqueName="LabelName" 
  DataMemberBinding="{Binding LabelName}" 
  Width="30*"
  Header="{Binding LabelName, Converter={StaticResource CtrlIdToLanguageTranslation},     
      ConverterParameter='TRANSLATIONS_MANAGE_GRID_LABEL_ID', FallbackValue='Label Id'}"  
  IsReadOnly="True"
  IsFilterable="False" 
  IsGroupable="False"/>

I put a break point in the Converter class CtrlIdToLanguageTranslation and whilst this converter is being called for TextBlocks within the same page, no column header bindings are calling the converter. I know the binding is working because I can see the actual column data.

Cheers,

Paul

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Paul
Top achievements
Rank 1
Share this question
or