We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot use GridControl

Thread ID:





104381 Jul 15,2012 01:35 PM UTC Aug 7,2012 08:38 AM UTC WinForms 3
Tags: GridControl
Nimrod Shaulski
Asked On July 15, 2012 01:35 PM UTC

I am fairly new to SyncFusion controls but I got into a nasty bug which prevents me from using this control entirely!
When trying to add the SyncFusion GridControl into any form or panel in my designer I get the following Exception (attached): System.InvalidCastException etc.
I'm working with .NET 4.0, VS2010 and Essential Studio
Any help will be much appreciated!



Kalaiarasan B [Syncfusion]
Replied On July 16, 2012 02:38 PM UTC

If the toolbox item still refers the previous versions of assemblies then this exception will be raised when drag/drop the controls in the VS.

Please perform the below operations

     1.       Run Assembly manager and remove all versions of assemblies.

     2.       Install version assembly alone (It would be better to ensure that only assemblies alone are present in the GAC)

GAC : C:\Windows\assembly

     3.       Then Run the Toolbox configuration utility for VS2008 and VS2010.

     4.       Open VS and Reset the toolbox(RightCLick in Toolbox and select Reset Toolbox items)

     5.       Now open the project and drag/drop the controls,

           For Migrated project

     Please ensure that the assemblies are present in the GAC and kindly refer the below link for clear details


Nimrod Shaulski
Replied On August 7, 2012 08:29 AM UTC

Problem is solved (in the meantime... hope it won't come back).
It appears that following the upgrade instructions is not enough...
I perform all the steps required for upgrading the project as explained in Syncfusion help.
Today I've decided to make a full textual search for old Syncfusion version references in the project.
I saw that some of the references appear in the Visual Studio as updated but the project file keeps the old references (to version 6.403, which doesn't exist on my PC).
After I cleaned all those project files manually and added the correct references the toolbox started working OK.

Kalaiarasan B [Syncfusion]
Replied On August 7, 2012 08:38 AM UTC

Hi Nimrod,

We are so glad to hear that the reported issue is resolved in your side.

Please let me know if you have any concerns, we are glad to help you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon