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.
Unfortunately, activation email could not send to your email. Please try again.

Visualization of grid in the designer Form

Thread ID:

Created:

Updated:

Platform:

Replies:

47186 Jul 29,2006 04:22 PM Jul 31,2006 01:53 AM Windows Forms 1
loading
Tags: GridControl
Angel Tello
Asked On July 29, 2006 04:22 PM

How can I insert the syncfusion grid in a Form AND view his designer? (View Designer)
this is the Error
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.

A valid license cannot be granted for the type Syncfusion.Windows.Forms.Grid.GridModel. Contact the manufacturer of the component for more information.
Hide

at System.ComponentModel.LicenseManager.Validate(Type type)
at Syncfusion.Windows.Forms.Grid.GridControl..ctor(GridModel model)
at Syncfusion.Windows.Forms.Grid.GridControl..ctor()
at Slb.Horizon.Products.GenericComponents.SlbGridControl..ctor()

Administrator [Syncfusion]
Replied On July 31, 2006 01:53 AM

Hi Angel,

Typically this error occurs if you do not have a license file in your project when it was compiled or the license file contains incomplete information.

Please follow the steps outlined below :

(i) Delete all the Syncfusion dlls and policy files in the GAC (C:\WINDOWS\Assembly folder on a Windows XP machine or C:\WINNT\Assembly folder on a Windows 2000 machine)

(ii) Run the Assembly Manager tool choosing v4.2.0.37 Prebuilt Release option. The Assembly Manager tool can be accessed from Start Menu >> Programs >> Syncfusion >> Essential Suite 4.2.0.37 >> Assembly Manager. Once again, go to the GAC and delete Syncfusion policy files only. Makes sure that the dlls present in the GAC are of version 4.2.0.37.

(iii) Open your project in the designer and and remove all the Syncfusion references. Re-add them from the ...\Syncfusion\Essential Suite\Assemblies folder. Make sure they are of version v4.2.0.37

(iv) Also in the designer, make sure that a licenses.licx file is present in the project. It is mandatory to have a licenses.licx file in the project during compilation so that the licensing information gets embedded in the exe generated. If you do not have one, then please follow the steps below to generate the licenses.licx file :

Add a "dummy" form in your project, and then add some Syncfusion controls onto the form. You could delete the form once the licenses.licx file is regenerated.

Also, not all controls need to be added - licensing is done on a per product level, so just one control from each syncfusion assembly that you are using needs to be added.

From Syncfusion.Grid.dll - the GridControl

3.Now rebuild your project and run it.

Let us know how it goes.

Regards,
Haneef

CONFIRMATION

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.

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.

;