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

Drag-n-drop Pageview, GridView, etc causes Exception

2 Answers 57 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Gone2TheDogs asked on 15 Nov 2016, 01:51 PM

I'm getting an exception when I drag and drop a PageView, GridView, and a few other controls to the Form.

system.nullreferenceexception: object reference not set to an instance of an object (see attached screen shot).

No one else on my team has reported getting this issue. My existing projects are fine and I can drag and drop these controls to them, but when I create a new project and try to add these controls, I get the exception noted.

 

 

 

2 Answers, 1 is accepted

Sort by
0
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
answered on 15 Nov 2016, 02:43 PM

So, this was an issue with the .SUO file. I deleted it and all is working fine now.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Nov 2016, 03:03 PM
Hello Bob,

Thank you for writing.  

I am glad that the problem you were facing is now resolved. When you are experiencing similar design time issues, 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. 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.  

Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
PageView
Asked by
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Answers by
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or