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