Hi,
How we can apply Localized Header for AutoGeneratingColumn ?
For example like
My xaml contains
<telerik:RadGridView x:Name="radGridView" AutoGeneratingColumn="radGridView_AutoGeneratingColumn">
</telerik:RadGridView>
And cs file contains
LocalizationManager.Manager = new LocalizationManager() {
ResourceManager = StringLibrary.ResourceManager,
Culture = new CultureInfo("es")
};
This is in the constructor part for selecting the the Language.
Auto generating event as follows
private void radGridView_AutoGeneratingColumn(object sender, GridViewAutoGeneratingColumnEventArgs e)
{
Telerik.Windows.Controls.GridViewDataColumn col = e.Column as Telerik.Windows.Controls.GridViewDataColumn;
//TODO => if column is some value then i wants to take value from Resourcekey .. This is my requirement.
}
How we can do this ?