I think there might be a bug, but I don't know if it's a Silverlight bug or a telerik bug.
Here's the scenario :
I have a RadTabControl with several RadTabItem (the number depends of the result of a webservice)
Each RadTabItem contains a UserControl set in Code Behind containing a RadGridView and a TextBox.
Each RadGridView has the same name.
Each UserControl has an instance of the Webservice declared in the constructor and calls the webservice to get the itemsource, then create a custom collection using lightweight datatable, and then creates and bind the columns (autogenerated false).
For each row loaded, I attache a RadContextMenu which content also depends of the WebService result.
The RowContextMenu allows to user to launch several functions of the database, to perform different tasks.
Most of those functions triggers a refresh of the grid (reload of the webservice data), recreation of the collection (but not the columns), then I set the itemsource to null, and set it again with the refreshed collection.
This process works only if the refresh action is launched from the very first RadTabItem, if it's being launched in any other item, the browser crashes unexpectedly, and the crash report says that there was a problem in coreclr.dll
I found a workaround by loading the new data during the selectionchanged event of the TabControl, and only reload the Current Item grid.
I think it might be linked to the rowvizualisation mechanism, or something similar.
I hope this can help you find if there actually is a bug somewhere.
Here's the scenario :
I have a RadTabControl with several RadTabItem (the number depends of the result of a webservice)
Each RadTabItem contains a UserControl set in Code Behind containing a RadGridView and a TextBox.
Each RadGridView has the same name.
Each UserControl has an instance of the Webservice declared in the constructor and calls the webservice to get the itemsource, then create a custom collection using lightweight datatable, and then creates and bind the columns (autogenerated false).
For each row loaded, I attache a RadContextMenu which content also depends of the WebService result.
The RowContextMenu allows to user to launch several functions of the database, to perform different tasks.
Most of those functions triggers a refresh of the grid (reload of the webservice data), recreation of the collection (but not the columns), then I set the itemsource to null, and set it again with the refreshed collection.
This process works only if the refresh action is launched from the very first RadTabItem, if it's being launched in any other item, the browser crashes unexpectedly, and the crash report says that there was a problem in coreclr.dll
I found a workaround by loading the new data during the selectionchanged event of the TabControl, and only reload the Current Item grid.
I think it might be linked to the rowvizualisation mechanism, or something similar.
I hope this can help you find if there actually is a bug somewhere.