This question is locked. New answers and comments are not allowed.
I have an ASP.NET MVC 3 application using a Telerik Grid.
The object I'm trying to bind to looks like this:
MyObject{ Name, Address, List<DataObject> DynDataList } DataObject{ DataIdentifier, Data }So for a single MyObject object, it'll have typically 43 DataObjects. This is all coming from a weird excel sheet where I know the first few columns, but then there's a variable number of column data that I don't know about. So I've broken it off into a sub-table. WHen i bind this to the grid though, I need to recreate the original format.
Example:
DataObject d1 = {{"SuperPower","Invisibility"}} DataObject d2 = {"Weakness","Smoke"} List<DataObject> dList = {d1,d2} MyObject = {Name="Bob",Address="123 Fake",DynDataList=dList};I need the output to look like this:
Name Address SuperPower Weakness Bob 123 Fake Invisibility Smoke
I have no trouble binding to MyObject and getting the Name And Address to show up in the grid. It's the subList of objects that I can't seem to figure out.....