Completed
Last Updated: 15 Aug 2017 11:54 by ADMIN
ADMIN
Dimitar
Created on: 23 May 2017 11:08
Category: GridView
Type: Bug Report
2
FIX. RadGridView - exception when loading the layout on Windows 7 with HDPI.
Use attached to reproduce.

Workaround:

class MyViewDefinition : TableViewDefinition
{
    public override IRowView CreateViewUIElement(GridViewInfo viewInfo)
    {
        return new MyTableElement();
    }
}
class MyTableElement : GridTableElement
{
    public override void DpiScaleChanged(SizeF scaleFactor)
    {
        if (this.ViewTemplate != null)
        {
            base.DpiScaleChanged(scaleFactor);
        }

    }
    protected override Type ThemeEffectiveType
    {
        get { return typeof(GridTableElement); }
    }
}

//use the above definition like this:

 radGridView1.ViewDefinition = new MyViewDefinition();
2 comments
ADMIN
Stefan
Posted on: 15 Aug 2017 11:54
Sorry for the delayed reply, it is fixed in R2 2017 SP1 (2017.2.613)
jacques
Posted on: 28 Jun 2017 09:27
Hi,
I have the same issue here in 2017.2.502.40
In which version number is this fixed ?
Thanks.