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

3 posts, 0 answers
  1. Gone2TheDogs
    Gone2TheDogs avatar
    32 posts
    Member since:
    May 2016

    Posted 15 Nov 2016 Link to this post

    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. Gone2TheDogs
    Gone2TheDogs avatar
    32 posts
    Member since:
    May 2016

    Posted 15 Nov 2016 in reply to Gone2TheDogs Link to this post

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

  3. Dess
    Admin
    Dess avatar
    2100 posts

    Posted 15 Nov 2016 Link to this post

    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.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.  

    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.
Back to Top