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

RadDataFilter and Dictionary Properties

0 Answers 42 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 23 Dec 2017, 06:27 PM

Hi Telerik,

I'm running into a problem.

I have a class that is defined like so:

````

public class User {

  public string Name {get; set; }

  public long Age {get; set; }

  public Dictionary<string, object> CustomProperties {get; private set;} = new Dictionary<string, object>();

}

````

I am having a hard time figuring out what I need to do in order to expose the values in the Dictionary as filterable properties of the RadDataFilter.  I've even gone as far as implementing a custom type descriptor and I'm not getting any joy.

What do I need to do to make this happen?

No answers yet. Maybe you can help?

Tags
DataFilter
Asked by
Tony
Top achievements
Rank 1
Share this question
or