I have a List object that I need to be able to swap the object type dynamically. Basically I have:
List<DataBaseItems> items = new List<DataBaseItems>();
I will then perform some filtering on that list with LINQ then bind to a telerik grid. I need to swap out the object based on an id that i get. My goal is to build a custom control that can use it's filter button for multiple reports where the report data is coming from the above list. Report A may use the above list and report B needs a completely different object but has the same actions on it.