MultiRow Windows Forms > Developer's Guide > Using MultiRow > Troubleshooting > 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 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.
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:
GrapeCity.Win.MultiRow.GcMultiRow, GrapeCity.Win.MultiRow, Version=9.20.20153.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9 |
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:
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 |
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 { ... } |
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.
Refer to the Order FAQ section available on our official website.