Support & Learning
Application Development and Deployment
Data Connectivity and Integration
Web Content Management
Get A Free Trial
close mobile menu
UI for Silverlight Forum
Browser Crash when resetting the ItemSource of a non Visible Grid
Telerik UI for Silverlight
Feed for this thread
2 posts, 0 answers
Posted 25 Jan 2010
Link to this post
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.
Posted 28 Jan 2010
Link to this post
Can you send us the application (via support ticket) where we can debug this?
the Telerik team
Instantly find answers to your questions on the new
Telerik Support Portal
on how to optimize your support resource searches and
check out more tips
on the blogs.
Back to Top