Completed
Last Updated: 10 Feb 2016 05:52 by ADMIN
ADMIN
Dimitar
Created on: 17 Dec 2015 12:56
Category: GridView
Type: Bug Report
1
FIX. RadGridView - exception when the VisualStudio2012Light theme is used and the BestFitColumns method is called
To reproduce:
- Add a ColumnGroupsViewDefinition

protected override void OnShown(EventArgs e)
{
    base.OnShown(e);
    VisualStudio2012LightTheme theme = new VisualStudio2012LightTheme();
    Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = theme.ThemeName;
     this.radGridView1.BestFitColumns();
}

Workaround:
protected override void OnShown(EventArgs e)
{
    base.OnShown(e);
    this.radGridView1.BestFitColumns();
    VisualStudio2012LightTheme theme = new VisualStudio2012LightTheme();
    Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = theme.ThemeName;
}
0 comments