This is a migrated thread and some comments may be shown as answers.

Property grid is crashing

4 Answers 36 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
tomas
Top achievements
Rank 1
tomas asked on 15 Apr 2013, 01:26 PM
Hi Telerik,

An unhandled exception ... see the attached picture please.

I am just trying to set PropertyBuilderGrid.Item to the LayoutItem. (DevExpress.Xpf.LayoutControl namespace...)

How can I solve it?

Thank you very much.

Tomas

4 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 15 Apr 2013, 02:49 PM
Hi Tomas,

Will it be possible to provide a bit more information about your exact scenario ? When do you set the Item property of the property rid, could you reproduce the same exception with another control (different than LayoutItem), is there anything more specific that you do ?
Generally, any relevant information, code-snippet or best - sample project will be of great help for reproducing the case and providing a solution. 

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
tomas
Top achievements
Rank 1
answered on 15 Apr 2013, 05:45 PM
Hello MAya,

Control definition (nothing special):
<telerik:RadPropertyGrid x:Name="PropertyBuilderControl"/>

There is nothing special about asigning of that object to propertyBuilderControl:

public void SetSelectedControl(object o){
    this.PropertyBuilderControl.Item = o;

}

thank you Tom

0
Maya
Telerik team
answered on 16 Apr 2013, 06:41 AM
Hi Tom,

I have tried to reproduce the exception, but without any success. Could you take a look at the sample attached and let me know whether I am missing anything ? What else should I do to get the same behavior ? Which version of RadControls are you working with ? 
Thanks a lot for your cooperation. 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
tomas
Top achievements
Rank 1
answered on 23 Apr 2013, 11:24 AM
Yes, my version was outdated.

I am sorry I have wasted your time...

Now it is working.

Tomas
Tags
PropertyGrid
Asked by
tomas
Top achievements
Rank 1
Answers by
Maya
Telerik team
tomas
Top achievements
Rank 1
Share this question
or