Hi,
Using 15.2.20152.2023.
If we add a toolbar to the form and select a dockable window (using the doc manager with three panes), select lightweight panel it crashes VS. See screenshot.
Thanks,mel
I tried this out, but I was unable to reproduce the exception.
There's not a lot of information here to go on, so this is what I did:
1) I created a new project.
2) Added 3 buttons to the form.
3) Added a DockManager to the form.
4) Select all three buttons, right click and select Dock Controls.Then click okay with the default.This creates 3 docked buttons on the left.
5) Added ToolbarsManager to the form.
6) Select the middle option (for the regular Panel control instead of UltraPanel).
This works fine for me with no exception. Does it work if you do the same steps I followed here? If so, then can you determine what you might have done differently to reproduce the exception?
That did not crash me, but this does
1) Create a new project
2) add a new form
3) add a dockmanager to the form.
4) Add an ultragrid, right click on it and make it dockable. Have it dock top.
5) Add an ultragrid, right click on it and make it dockable. Have it dock left.
6) Add an ultragrid, right click on it and make it dockable. Have it dock left
7) Add a toolbarmanager
8) Go to properties of the toolbarmanager, DockWithContainer and choose one of the three dock containers from the manager. It crashes.
Let me know if you get the same.
Okay, I was able to reproduce the issue using those steps.
Docking the toolbar into a DockableWindow is not a valid option. The DockableWindow relies on having only one control within it, and when you try to dock the ToolbarsManager, the ToolbarsManager creates as many as five additional controls: the panel plus four dock areas.
If you want a toolbar inside a dock pane, then the thing to do is either use a UserControl (which in this case would contain a grid and a ToolbarsManager) or else Dock a panel control and then put the grid and the ToolbarsManager into that panel.
Having said all that, we don't want anyone accidentally crashing Visual Studio. So to avoid this problem in the future, I have written this up as a bug for the developers to look into (Bug number 216769). The solution, I think, will be to remove the DockableWindows from the list of viable options for DockWithinContainer.
I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 216769. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing this case on the web site.
Please let me know if you need more information.
Hi Mel,
Development Issue #216769 is now resolved in the latest service release.
To download the latest service release follow these steps:
Thank you for using Infragistics Controls.
Thanks Mike. UC makese sense I will do that.
Mel.