From fa8c75a8b4c3f9bead72341ee4b7446b7844b36d Mon Sep 17 00:00:00 2001 From: P1l3T0 Date: Tue, 1 Apr 2025 14:17:33 +0300 Subject: [PATCH] docs(license): adjust license article --- ...ary-spreadsheet-workbook-and-worksheets.md | 10 ++--- licensing/license-errors-warnings.md | 44 +++++++++---------- 2 files changed, 25 insertions(+), 29 deletions(-) diff --git a/knowledge-base/spreadsheet-understanding-telerik-ajax-and-document-processing-library-spreadsheet-workbook-and-worksheets.md b/knowledge-base/spreadsheet-understanding-telerik-ajax-and-document-processing-library-spreadsheet-workbook-and-worksheets.md index bb79e69198..f122d23254 100644 --- a/knowledge-base/spreadsheet-understanding-telerik-ajax-and-document-processing-library-spreadsheet-workbook-and-worksheets.md +++ b/knowledge-base/spreadsheet-understanding-telerik-ajax-and-document-processing-library-spreadsheet-workbook-and-worksheets.md @@ -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(); @@ -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(); ```` - - \ No newline at end of file diff --git a/licensing/license-errors-warnings.md b/licensing/license-errors-warnings.md index 94089b82d3..7971a1e2da 100644 --- a/licensing/license-errors-warnings.md +++ b/licensing/license-errors-warnings.md @@ -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%})