I have a DataList bound to an array and inside the template I have a DataGrid bound to a child of the item. Data is loaded correctly on both components.
The problem happens if I manipulate the source. On the DataList adding or removing item works fine. On DataGrid, nothing happen.
The problems are:
- first, I cannot access a component from custom expression in order to try to force data reloading, since fields contained by the class are related to non template instances
- second, even if I change the autogenerated code manually in order to set to null the DataGrid data and try to rebound it, nothing happen