While working with the Ribbon in a RadRibbonForm, I inadvertently removed a ribbon tab. I started recreating the ribbon tab I removed (and all of the child objects). When I got to creating and naming a ribbon button, it notified me that a control with that name already existed. It appeared that child objects, of the ribbon tab I removed, had not been removed from the form.
I tried to select the existing control from the pull-down on the top of the properties window (to find a way to remove it) and Visual Studio 2022 crashed to desktop. I hadn't saved the form I was working on, so it's mostly messed up in the project (the UI is missing), and I will have to delete what is there and start over.
Hello James Whitaker,
Thank you for the provided details.
Following your steps, I was able to reproduce this behavior. You are right that removing a tab in design time will not remove all child objects. This way if you want to recreate the tab you will need to delete all created objects in the designer.cs file which is time-consuming. I am approving this feedback item so that our development team will consider adding this for fixing in their development plan. I will also include a note to consider adding a confirmation window when deleting a tab so that the developer doesn't lose the progress so far. I have updated your Telerik points for bringing this to our attention.
As for the VS 2022 behavior, I have tested it but wasn't able to reproduce it. It seems to me that this is something related to the VS itself. You could try to update the VS to the latest version (if it is not) and try again to see if crashes.
Regards,
Dinko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.