Hi the Telerik Team,
There is a error with the RadDock when loading layout from XML file.
When you load the layout from an XML file, the selected index of a DocumentContainer or a ToolTabStrip is incorrect. The last one is always selected, even if the SelectedIndex is the first.
You can easily reproduce this bug with the demo application on Dock / Serialization:
- Add a tool window to the same area as Tool Window 2
- Select the first window of the ToolTabStrip (Tool Window 4)
- Save the layout
- If you open the layout file in an editor, you can see that the ToolTabStrip's SelectedIndex is 0 (correct).
- Remove all windows
- Load the layout file
- The Tool Window 2 is selected instead of the Tool Window 4.
Thank you,
Regards
There is a error with the RadDock when loading layout from XML file.
When you load the layout from an XML file, the selected index of a DocumentContainer or a ToolTabStrip is incorrect. The last one is always selected, even if the SelectedIndex is the first.
You can easily reproduce this bug with the demo application on Dock / Serialization:
- Add a tool window to the same area as Tool Window 2
- Select the first window of the ToolTabStrip (Tool Window 4)
- Save the layout
- If you open the layout file in an editor, you can see that the ToolTabStrip's SelectedIndex is 0 (correct).
- Remove all windows
- Load the layout file
- The Tool Window 2 is selected instead of the Tool Window 4.
Thank you,
Regards