Problem with category and scroll bar

Amand

When changing the property sort to categorized or not, the vertical scroll bar is always displayed, even when not needed.

To reproduced:
- create a form with a property grid.
- set ToolbarVisible to true
- add some properties, but not enough to cause the scroll bar to appear.
- start and click on the sort button: the sort is changed, but the scroll bar became visible even if it is not needed.

George

I tested your scenario and was able to identify the issue you described. I have logged it in our Public Issue Tracking System, you can find it on this address. The issue was addressed and the fix for it will be available in our next release. For the time being as a workaround you can create your own class which derives from RadPropertyGrid. Below is an example code:

public class MyPropGrid : RadPropertyGrid

{

protected override PropertyGridElement CreatePropertyGridElement()

{

return new MyPropGridElement();

}

public override string ThemeClassName

{

get { return typeof(RadPropertyGrid).FullName; }

set { }

}

}

public class MyPropGridElement : PropertyGridElement

{

protected override PropertyGridSplitElement CreateSplitElement()

{

return new MyPropGridSplitElement();

}

protected override Type ThemeEffectiveType

{

get { return typeof(PropertyGridElement); }

}

}

public class MyPropGridSplitElement : PropertyGridSplitElement

{

protected override PropertyGridTableElement CreateTableElement()

{

return new MyPropGridTableElemnet();

}

protected override Type ThemeEffectiveType

{

get { return typeof(PropertyGridSplitElement); }

}

}

public class MyPropGridTableElemnet : PropertyGridTableElement

{

protected override void UpdateScrollers(UpdateActions updateAction)

{

this.Scroller.UpdateScrollRange();

}

protected override Type ThemeEffectiveType

{

get { return typeof(PropertyGridTableElement); }

}

}

Additionally your Telerik Points have been updated for the report.
Hope this helps, if you have any other questions or comments, please let me know.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.