Binding XML to RadPropertyGrid

6 posts, 0 answers
  1. arto
    arto avatar
    12 posts
    Member since:
    Jun 2014

    Posted 03 Jul 2014 Link to this post

    Is it possible to generate a PropertyGrid on the fly by binding it to an XML string?
    If not then what would be a good solution here?
    I have a property that return an XML string with attributes and values, I need the attributes to be the property display names and values the property values. Maybe parsing the XML and creating PropertyDefinitions? I'd just like to avoid parsing an XML if PropertyGrid has some way doing it.

    Thank you for the help!
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1176 posts

    Posted 08 Jul 2014 Link to this post

    Hello,

    I will need a some more time to prepare a sample project. I will contact you as soon as I am ready with it.

    Regards,
    Ivan Ivanov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. arto
    arto avatar
    12 posts
    Member since:
    Jun 2014

    Posted 09 Jul 2014 in reply to Ivan Ivanov Link to this post

    Thanks Ivan, looking forward to it.
  4. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1176 posts

    Posted 14 Jul 2014 Link to this post

    Hello,

    Please excuse me for the delayed reply. I am attaching a sample project that illustrates binding to XML data source.

    Regards,
    Ivan Ivanov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  5. Joel Palmer
    Joel Palmer avatar
    175 posts
    Member since:
    May 2009

    Posted 18 Jan Link to this post

    Can you share some documentation or at least elaborate on this solution?  Is it always the First Element is the property name and the Second Element the property value?  Also, how do I define a pick list field?  I have an Enum whose values need to be presented in a drop-down list.
  6. Stefan X1
    Admin
    Stefan X1 avatar
    665 posts

    Posted 23 Jan Link to this post

    Hi Joel,

    I have previously replied you in the XmlDocument PropertyGrid Binding forum thread you opened regarding this topic. In order to keep the communication consistent, I would kindly ask you to continue any further discussion regarding this topic in it.

    Thank you in advance for your cooperation.

    Regards,
    Stefan X1
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top