I am using RadDocking with DocumentHost and Split Container, Pane Group etc. When I load the page first time it works without any problem but if I reload the page by clicking on the Menu option I am getting "Sys.InvalidOperationException: Runtime error 2210 in Control 'Xaml1': AG_E_INVALID_ARGUMENT. I removed the docking code completely and then I can reload the page without any error several times. I am very positive it is the Docking that is causing this issue. Can you please let me know how to handle this error? it is very urgent. I really appreciate your help.
...
<
radDock:RadDocking>
<radDock:RadDocking.DocumentHost>
<radDock:RadSplitContainer>
<radDock:RadPaneGroup>
<radDock:RadDocumentPane BorderThickness="0">
<radDock:RadDocumentPane.Content>
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Hidden">
<Grid Background="White">
<Border Background="LightGray" BorderBrush="Gray" BorderThickness="1" Margin="0" Grid.Row="0" Grid.Column="1">
<Grid ShowGridLines="False" >
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="300"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
.........
.........
</
radDock:RadDocumentPane.Content>
</radDock:RadDocumentPane>
</radDock:RadPaneGroup>
</radDock:RadSplitContainer>
</radDock:RadDocking.DocumentHost>
<radDock:RadSplitContainer radDock:DockingPanel.InitialSize="200,200" MaxWidth="679"
InitialPosition="DockedRight" Background="LightGray">
<radDock:RadPaneGroup >
<radDock:RadPane Header="Services" IsPinned="False" CanUserClose="False">
<StackPanel Orientation="Vertical" VerticalAlignment="Top">
<Border Margin="5,10,5,0" Width="175" Height="175" BorderThickness="1" BorderBrush="Black">
<Grid ShowGridLines="False">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition></RowDefinition>
.......
.......
</radDock:RadPane>
</radDock:RadPaneGroup>
</radDock:RadSplitContainer>
</radDock:RadDocking>