This is a migrated thread and some comments may be shown as answers.

Deletion of top level RadMenu item corrupts project

1 Answer 39 Views
Form
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 25 Sep 2020, 06:46 PM

I accidentally deleted a top level menu item in the RadMenu control on the main form of the project.  This action could not be undone.  Attempts to add the menu element back resulted in errors about duplicate entries.  VS2019 subsequently crashed and restarted.  Further attempts to open the main form of the application resulted in errors upon opening the form.

 

With all efforts to recover the form proving futile, I deleted the form and attempted to add a new RadForm to replace it.  However, instead of a new form being added only a VB code module is created.  It is now impossible to add any new type of RadForm to this project, though it is possible to create a new project.

 

Is there a known solution to this problem?  If not, then I will create a new project and main form and import the other project modules.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 29 Sep 2020, 11:14 AM

Hello, Michael,

I am sorry to hear that you are experiencing such difficulties with the design time experience when deleting a top most RadMenuItem. However, we haven't had similar reports from other customers.
Following the provided information, I was unable to reproduce the issue you are facing. Hence, it would be difficult to conclude what actually causes the undesired behavior. Usually, design time problems are observed after upgrading the project. Have you upgraded to the recently introduced R3 2020? If this is the case, I would like to ask you to carefully check the references to all Telerik controls in your project and make sure that they are the same version considering the suffix as well (.20 or .40). Better yet, you can remove all references and add them anew by using the DLLs from your fresh installation. Delete the license.licx file. After that, you should rebuild your project, close Visual Studio and open it again to make sure that no references are kept in the memory by Visual Studio.  

Make sure that you don't have old Telerik versions in the Global Assembly Cache which may mess up the Toolbox and design time experience as well.

If none of the above suggestions deals with the problem, it would be greatly appreciated if you can provide more information about the precise case and specify some steps how to replicate the problem. A sample video would be also greatly appreciated. Thus, we would get better understanding of the precise case and provide further assistance. Thank you in advance for your cooperation.

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
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/.

Tags
Form
Asked by
Michael
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or