GrapeCity MultiRow Windows Forms Documentation
Unexpected License Dialog Gets Displayed

If you have installed the licensed version of the product and you are still getting the Trial version dialog, review the information in the following sections.

Project was created using the trial version

Project created using trial version may have trial license information still remaining in its temporary file. You will need to rebuild the project using the following steps to update this information.

Project does not have a licenses.licx file

This happens when either the licenses.licx file does not exist, or if you have generated the control dynamically using code and not pasted it from the toolbox. If this is the case, you will have to manually create a licenses.licx file. To do so, complete the following steps:

  1. Create any Windows Application Project in Visual Studio. (Visual Basic or C#).
  2. In Form Designer of Visual Studio, place GcMultiRow control on the Form from the ToolBox.
  3. Open Solution Explorer of Visual Studio, open Licenses.licx file under MyProject folder or Properties folder, and copy details similar to the following to the clipboard.

    [Licenses.licx]

    GrapeCity.Win.MultiRow.GcMultiRow, GrapeCity.Win.MultiRow, Version=9.20.20153.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9
    
    • yyyy.mmdd changes according to the assembly version of the product. Refer to the readme installed with the product for more information on assembly versions.
  4. Create a blank file with the name Licenses.licx under My Project or Properties folder. If a file with same name already exists, then open that file.
  5. Open the created Licenses.licx file and paste the above information into Licenses.licx file.

When using MultiRow in a UserControl

If you have created your own control inherited from a product control or you have created a UserControl by combining it with some other control, you will have to set the LicenseProvider attribute in the control. You can set LicenseProvider in the control by putting LicenseProvider attribute before class declaration as shown in the following sample:

[VB]

Imports System.Windows.Forms
Imports System.ComponentModel

' In case of inherited control
<LicenseProviderAttribute(GetType(LicenseProvider))> _
Public Class MyControl
    Inherits GrapeCity.Win.MultiRow.GcMultiRow
    ...
End Class

' In case of user control
<LicenseProviderAttribute(GetType(LicenseProvider))> _
Public Class UserControl1
    ...
End Class

[CS]

using System.Windows.Forms;
using System.ComponentModel;

// In case of inherited control
[LicenseProviderAttribute(typeof(LicenseProvider))]
public partial class MyControl : GrapeCity.Win.MultiRow.GcMultiRow
{
    ...
}

// In case of user control
[LicenseProviderAttribute(typeof(LicenseProvider))]
public partial class UserControl1 : UserControl
{
    ...
}

When placed in a class library and called from another assembly

If you are using GcMultiRow control in a class library and trying to reuse (which includes calling dynamically using reflection) it from assembly through the class library, then the calling project will also require a MultiRow license. If this is the case, add license information in the licenses.licx file of the calling project, similar to the case when the licenses.licx file does not exist in the project.

Hardware configuration has been changed after installation

Refer to the WebSite Order FAQ section available on our official website.

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options