Property grid is crashing

5 posts, 0 answers
  1. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 15 Apr 2013 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 15 Apr 2013 Link to this post

    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.

  3. DevCraft banner
  4. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 15 Apr 2013 Link to this post

    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

  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 16 Apr 2013 Link to this post

    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.

  6. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 23 Apr 2013 Link to this post

    Yes, my version was outdated.

    I am sorry I have wasted your time...

    Now it is working.

    Tomas
Back to Top
DevCraft banner