RadPropertyGrid and TypeConverter's ITypeDescriptorContext

8 posts, 0 answers
  1. Guy
    Guy avatar
    16 posts
    Member since:
    Mar 2012

    Posted 16 May Link to this post

    It looks like the RadPropertyGrid doesn't supply an ITypeDescriptorContext when invoking TypeConverters on a property (the context is alwayas null). This makes it impossible to use custom type converters that do things like provide custom standard values. Is this a known limitation, are there plans to add support for this?

     

    Thanks

  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 19 May Link to this post

    Hi,

    Currently we cannot confirm support for this scenario. Would it be possible for you to send us a sample project that illustrates your implementation, so that we can debug it on our side? Then we would be able to discuss whether there are any limitations and how they could be overcome.

    Regards,
    Ivan Ivanov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Guy
    Guy avatar
    16 posts
    Member since:
    Mar 2012

    Posted 19 May in reply to Ivan Ivanov Link to this post

    I don't have a small sample project that I can share but essentially this is functionality that is part of most property grids today (DevExpress, Xceed, etc.). The original Windows Forms property grid: https://msdn.microsoft.com/en-us/library/aa302326.aspx was the original implementation. The goal here is for a given string property for example, you would be able to provide a list of values to choose from via the TypeConverter's GetStandardValues implementation.

     

    We are still evaluating which component suite to choose for our next project and features like this one are definitely important.

  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 20 May Link to this post

    Hello Guy,

    We discussed the case and decided on logging it in our feedback portal for future implementation. 
    You can track the progress of the item directly following this issue. The more votes it gets, the sooner it will be implemented. 
    I also updated your Telerik points for the request.


    Regards,
    Maya
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  6. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 20 May Link to this post

    Hi,

    I forgot to add the link to the item - here it is - Supplying ITypeDescriptorContext parameter in overridden methods of TypeConverter of a property.

    Regards,
    Maya
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  7. Dharmavaram
    Dharmavaram avatar
    72 posts
    Member since:
    Jun 2013

    Posted 14 Sep in reply to Maya Link to this post

    Hi Maya.

     I also need to use TypeConverter similar to same requirement and when I check the link you provided.Nothing useful found there.Could you please provide some information.

    Regards,

    Nagasree.

     

  8. Dharmavaram
    Dharmavaram avatar
    72 posts
    Member since:
    Jun 2013

    Posted 14 Sep Link to this post

    Hi Maya,

        I have gone through the link and understood it has to be implemented. Actually I totally struck here as I have replaced winform grid in our project to Telerik RadPropertyGrid. we have used so many Typeconverters.

    Is there any alternative??

  9. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 16 Sep Link to this post

    Hello Dharmavaram,

    Indeed, this feature request is yet to be implemented. I am afraid, that we cannot provide an alternative for it. I will raise its priority and we will consider adding it in the next official release, however, I cannot confirm that it will be available for it.

    Best Regards,
    Stefan X1
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for WPF is Visual Studio 2017 Ready