Hello Telerik team,
I'm binding the RadDocking ItemsSource to a ObservableCollection<RadDocumentPane> (TabItems in the example) collection.
When I try to close a pane an exception is thrown:
Code: 4004 ....Operation not supported on read-only collection.
So I try to handle the Close event (or any other event) so I can remove the Pane from the source and rebind again to the Docking control, but that exception is thrown before any event I can catch. What should I do?
I'm binding the RadDocking ItemsSource to a ObservableCollection<RadDocumentPane> (TabItems in the example) collection.
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadPaneGroup
Name
=
"paneGroupTabs"
ItemsSource
=
"{Binding Path=TabItems}"
>
</
telerik:RadPaneGroup
>
</
telerik:RadDocking.DocumentHost
>
When I try to close a pane an exception is thrown:
Code: 4004 ....Operation not supported on read-only collection.
So I try to handle the Close event (or any other event) so I can remove the Pane from the source and rebind again to the Docking control, but that exception is thrown before any event I can catch. What should I do?