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

RadPropertyGrid and TypeConverter's ITypeDescriptorContext

7 Answers 113 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 16 May 2016, 10:40 PM

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

7 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 19 May 2016, 03:38 PM
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.
0
Guy
Top achievements
Rank 1
answered on 19 May 2016, 10:24 PM

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.

0
Maya
Telerik team
answered on 20 May 2016, 01:18 PM
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.
0
Maya
Telerik team
answered on 20 May 2016, 01:43 PM
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.
0
Dharmavaram
Top achievements
Rank 1
answered on 14 Sep 2016, 08:47 AM

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.

 

0
Dharmavaram
Top achievements
Rank 1
answered on 14 Sep 2016, 09:13 AM

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??

0
Stefan
Telerik team
answered on 16 Sep 2016, 11:16 AM
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.
Tags
PropertyGrid
Asked by
Guy
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Guy
Top achievements
Rank 1
Maya
Telerik team
Dharmavaram
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or