We are binding a RadGrid DataSource to a list of objects that contain standard properties and a list of custom properties.
e.g.
Name
JobTitle
Contact
List<string> CustomProperties { customPropertyItem1, customPropertyItem2 ... n}
The custom properties are stored in our db such that one property has many propertyItems, so the column headings would look like this -
Name | Job Title | Contact | Custom Property 1 | Custom Property 2 ... n
What is the best way of binding to these custom properties?
Can we mix declarative code (columns for the standard properties) with programmatic code (columns created dynamically for the custom properties) ?
All properties including custom properties need to be groupable, sortable and filterable.
thanks