Skip to content

Adjust license article #671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ The Workbook and worksheets from the AJAX and DPL are not interchangeable. Never
- An instance method .ToDocument() that all allows any AJAX Workbook instance to be converted to a DPL Workbook;
- A static method Workbook.FromDocument() that allows any DPL Workbook to be converted to an AJAX Workbook;

````
````C#
using System;
using System.Collections.Generic;
using DPL = Telerik.Windows.Documents.Spreadsheet.Model;
using AJAX = Telerik.Web.Spreadsheet;
using System.Collections.Generic;
````

````
// AJAX to Document Processing Library
AJAX.Workbook ajaxWorkbook = new AJAX.Workbook();
AJAX.Worksheet ajaxWorksheet = ajaxWorkbook.AddSheet();
Expand All @@ -54,13 +52,11 @@ DPL.Worksheet dplWorksheet = dplWorkbook.Worksheets[0];
// Document Processing Library to AJAX
AJAX.Workbook convertedAjaxWorkbook = AJAX.Workbook.FromDocument(dplWorkbook);
AJAX.Worksheet convertedAjaxWorksheet = convertedAjaxWorkbook.Sheets[0];

// value is "Test cell"
string value = convertedAjaxWorksheet
.Rows.Find(r=> r.Index == 2)
.Cells.Find(c=> c.Index == 2)
.Value.ToString();
````



44 changes: 22 additions & 22 deletions licensing/license-errors-warnings.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,33 @@ Starting with the 2025 Q1 release, using Telerik UI for ASP.NET AJAX without a l

An invalid license can be caused by any of the following:

* Using an expired subscription license—subscription licenses expire at the end of the subscription term.
* Using a perpetual license for product versions released outside the validity period of your license.
* Using an expired trial license.
* A missing license for Telerik UI for ASP.NET AJAX.
* Not installing a license key in your application.
* Not updating the license key after renewing your Telerik UI for ASP.NET AJAX license.
- Using an expired subscription license—subscription licenses expire at the end of the subscription term.
- Using a perpetual license for product versions released outside the validity period of your license.
- Using an expired trial license.
- A missing license for Telerik UI for ASP.NET AJAX.
- Not installing a license key in your application.
- Not updating the license key after renewing your Telerik UI for ASP.NET AJAX license.

## License Warnings and Errors

When using Telerik UI for ASP.NET AJAX in a project with an expired or missing license, the `Telerik.Licensing` build task will indicate the following errors:


| Error or Condition |Message Code | Solution |
| -------------------------------------------------------- |------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `No license key is detected` |`TKL002` | [Set up a license key]({%slug licensing/license-key%}) to activate the UI controls and remove the error message. |
| `Invalid license key` |`TKL003` | [Download a new license key]({%slug licensing/license-key%}#downloading-the-license-key) and use it to activate the UI controls and remove the error message. |
| `Your subscription license has expired.` |`TKL103`, `TKL104` | Renew your subscription and [download a new license key]({%slug licensing/license-key%}#downloading-the-license-key). |
| `Your perpetual license is invalid.` |`TKL102` | You are using a product version released outside the validity period of your perpetual license. To remove the error message, do either of the following: |
| | | - Renew your license, then download a new license key and use it to activate the controls. |
| | | - Downgrade to a product version included in your perpetual license as indicated in the message. |
| `Your trial license has expired.` |`TKL105` | Purchase a commercial license to continue using the product. |
| `Your license is not valid for the detected product(s).` |`TKL101` | Review the purchase options for the listed products. Alternatively, remove the references to the listed packages from `package.json`. |

| Error or Condition | Message Code | Solution |
| ------------------------------------------------------------------ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `No license key is detected` | `TKL002` | [Set up a license key]({%slug licensing/license-key%}) to activate the UI controls and remove the error message. |
| `Invalid license key` | `TKL003` | [Download a new license key]({%slug licensing/license-key%}#downloading-the-license-key) and use it to activate the UI controls and remove the error message. |
| `Your perpetual license is invalid.` | `TKL102` | You are using a product version released outside the validity period of your perpetual license. To remove the error message, do either of the following: |
| | | - Renew your license, then download a new license key and use it to activate the controls. |
| | | - Downgrade to a product version included in your perpetual license as indicated in the message. |
| `Your subscription license has expired.` | `TKL103`, `TKL104` | Renew your subscription and [download a new license key]({%slug licensing/license-key%}#downloading-the-license-key). |
| `Your trial license has expired.` | `TKL105` | Purchase a commercial license to continue using the product. |
| `Your license is not valid for the detected product(s).` | `TKL101` | Review the purchase options for the listed products. Alternatively, remove the references to the listed packages from `package.json`. |
| `No Telerik or Kendo UI product references detected in project.v.` | `TKL001` | - If you use Telerik products and see this message, update the Telerik.Licensing package to version 1.4.9 or later. |
| | | - If you do not use Telerik products, remove the Telerik.Licensing NuGet reference from your project. |

## See Also

* [Setting Up Your License Key]({%slug licensing/license-key%})
* [Adding the License Key to CI Services]({%slug licensing/add-license-to-ci-cd%})
* [Frequently Asked Questions about Your Telerik UI for ASP.NET AJAX License Key]({%slug licensing/licensing-faq%})
* [Resolving TelerikLicense.vb Build Error]({%slug common-resolve-teleriklicense-vb-build-error%})
- [Setting Up Your License Key]({%slug licensing/license-key%})
- [Adding the License Key to CI Services]({%slug licensing/add-license-to-ci-cd%})
- [Frequently Asked Questions about Your Telerik UI for ASP.NET AJAX License Key]({%slug licensing/licensing-faq%})
- [Resolving TelerikLicense.vb Build Error]({%slug common-resolve-teleriklicense-vb-build-error%})