This question is locked. New answers and comments are not allowed.
I am using RadPropertyGrid in our project.
It was working fine in our application until we upgraded to version 2012.1.215.1050. Now i'm getting following error:
"ItemPropertyInfo descriptor is not supported"
This is the code that i'm using
PropertyDefinition pdef = new PropertyDefinition();
if ((attrib as PropertyEditorAttribute).PropertyEditor != PropertyEditorEnum.TelerikDefault)
{
pdef = new PropertyDefinition(
new ItemPropertyInfo(e.PropertyDefinition.DisplayName, typeof(string), null));
}
else if ((attrib as PropertyEditorAttribute).Name == "Font Style")
{
pdef = new PropertyDefinition(
new ItemPropertyInfo(e.PropertyDefinition.DisplayName, typeof(FontStyles), null));
}
pdef.GroupName = group;
pdef.DisplayName = name;
pdef.Description = description;
pdef.EditorTemplate = dataeditor;
propertyGrid.PropertyDefinitions.Add(pdef);
I cannot find any indication in the documentation that something has changed. What is the equivalent for this code or how do i fix this?