I started testing the RadControls for Silverlight 3 beta especially because it has more functionality than the DataGrid delivered with the Silverlight Toolkit and I would like to switch to the Telerik components, but need to be sure, that everything works fine.
I come across a problem concerning a different behaviour between the Telerik GridView and the MS DataGrid and I hope I'll find some assistance here. The problem is that by assigning the same collection to the ItemsSource to both grids, just the MS DataGrid shows the content. The Telerik grid is increased and the scrollbar is shown, so it seems the grid processes the collection somehow but it remains empty. Not a single row is shown. This problem occurs just if the user control with the grids is loaded by another user control. May be I should give you an example to make it more clear.
Beside App.xaml I've two controls MainPage.xaml and TestPage.xaml
MainPage.xaml is just a container for hosting other controls. Within TestPage.xaml I've added both grid versions.
// following code is part of MainPage.xaml to load the TestPage.xaml
private TestPage _TestPage;
private void StartTestPage_Click(object sender, RoutedEventArgs e)
// the following code is taken from TestPage.xaml
private ObservableCollection<TestType> _TestCollection;
void TestPage_Loaded(object sender, RoutedEventArgs e)
private void ShowTestCollection()
TestGridMS.ItemsSource = _TestCollection; //MS grid shows the content
TestGridTelerik.ItemsSource = _TestCollection; //Telerik grid doesn't show the content
private void LoadTestCollection()
_TestCollection = (
If I'm assigning the TestPage directly to the RootVisual within App.xaml, than everything works fine and the content is shown in both grids, but if I load the TestPage from the MainPage, than just the MS grid shows the content. I hope someone can tell me what's going wrong, or what I have done wrong.
Thanks in advance for your help