It appears that the RadGrid is broken when inside of a RadTab.
I have 4 tabs. Each tab has a RadGrid that is bound to a ObservableCollection Property in a ViewModel and a DataForm below that is bound to its SelectedItem of the RadGrid.
If I select a row in a RadGrid it works fine. However, if I go to another tab and come back to the initial tab (or any tab where I had a selected row in the RadGrid), I throw a "Value does not fall within expected Range" error and it kills Silverlight.
It has to be the RadGrid or the RadTab crashing Silverlight, and it is not until I select a Row in the RadGrid and go to a different tab and come back to the tab that has the RadGrid with a selected row.
I cannot proceed with my project until this is resolved. Help me please ...
Each of the user controls in the TabItems, as I said, contains a RadGrid and DataForm. I also have the SelectedItem of the RadGrid bound in my ViewModel to see if that would help it remember the selected item (since the RadTab recreates its controls of previous tabs), this has done nothing to help me.
I have 4 tabs. Each tab has a RadGrid that is bound to a ObservableCollection Property in a ViewModel and a DataForm below that is bound to its SelectedItem of the RadGrid.
If I select a row in a RadGrid it works fine. However, if I go to another tab and come back to the initial tab (or any tab where I had a selected row in the RadGrid), I throw a "Value does not fall within expected Range" error and it kills Silverlight.
It has to be the RadGrid or the RadTab crashing Silverlight, and it is not until I select a Row in the RadGrid and go to a different tab and come back to the tab that has the RadGrid with a selected row.
I cannot proceed with my project until this is resolved. Help me please ...
<TelerikControls:RadTabControl x:Name="DataFormTab" TabStripPlacement="Left" Align="Justify" VerticalAlignment="Stretch" Margin="5,5,5,5" Grid.Row="1" Grid.ColumnSpan="2"> |
<TelerikControls:RadTabItem Header="Platform Information"> |
<localTabItem:PlatformInformation DataContext="{Binding PlatformViewModel}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> |
</TelerikControls:RadTabItem> |
<TelerikControls:RadTabItem Header="Well Information"> |
<localTabItem:WellInformation DataContext="{Binding WellViewModel}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> |
</TelerikControls:RadTabItem> |
<TelerikControls:RadTabItem Header="Lease Information"> |
<localTabItem:LeaseInformation DataContext="{Binding LeaseViewModel}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> |
</TelerikControls:RadTabItem> |
<TelerikControls:RadTabItem Header="Pipeline Information"> |
<localTabItem:PipelineInformation DataContext="{Binding PipelineViewModel}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> |
</TelerikControls:RadTabItem> |
</TelerikControls:RadTabControl> |
Each of the user controls in the TabItems, as I said, contains a RadGrid and DataForm. I also have the SelectedItem of the RadGrid bound in my ViewModel to see if that would help it remember the selected item (since the RadTab recreates its controls of previous tabs), this has done nothing to help me.