I have a DataList that gets data from an Object data source.
Also within the Data List I want to display a grid which also has a seperate object data source.
The Data Key of the Datalist's Object Data source has a value that I will use as a FilterExpression for the Grids Object Data Source.
Using the DataLists 'OnItemDataBound' event handler I get the DataKey of the current record and use it as a filter for the grids object data source and DataBind the Grids Object data source.
I got the Grid to display for the First Data list Item Correctly. However, It is repeated for the whole list and does not display the correct coresponding data key for each row.
I put a break point in the 'OnItemDataBound' event handler and the Correct Key is being filtered and Databound.
However it is repeating the first grid and not updating the grid.
DataSource Within the the objectdata source I have a datakey.