This question is locked. New answers and comments are not allowed.
Hi,
I have a column in my gridview which needs to display the header dynamically based based on a condition. This is how it is defined
But when I export data from this Grid, the header of this column is exported as System.Windows.Controls.StackPanel instead of the actual name. All the other column headers export correctly. Can you please provide a solution for this?
Regards,
Madhu
I have a column in my gridview which needs to display the header dynamically based based on a condition. This is how it is defined
<telerikGrid:GridViewDataColumn.Header>
<TextBlock DataContext=
"{Binding ParentGridView.DataContext, ElementName=GridFinder}"
Text=
"{Binding CoolantTempUnitName, TargetNullValue='Coolant Temp (F)', FallbackValue='Coolant Temp (F)'}"
Foreground=
"White"
/>
</telerikGrid:GridViewDataColumn.Header>
But when I export data from this Grid, the header of this column is exported as System.Windows.Controls.StackPanel instead of the actual name. All the other column headers export correctly. Can you please provide a solution for this?
Regards,
Madhu