Skip to content

Commit de31cdf

Browse files
authored
Fix licensing docs (#693)
* docs(licensing):: update instructions * docslicensing): adjust article
1 parent dca18d6 commit de31cdf

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

licensing/license-key.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,42 @@ position: 1
99

1010
# Setting Up Your Telerik UI for ASP.NET AJAX License Key
1111

12-
>Starting with the **2025 Q1** release, the UI components from the Telerik UI for ASP.NET AJAX library require activation through a license key (trial or commercial).
12+
Starting with **2025 Q1**, Telerik UI for ASP.NET AJAX requires activation through a License Key. The `Telerik.Web.UI.dll` assembly now depends on `Telerik.Licensing.Runtime.dll` which can be obtained from NuGet ([https://www.nuget.org/packages/Telerik.Licensing](https://www.nuget.org/packages/Telerik.Licensing)) or from the Telerik UI for ASP.NET AJAX installations.
1313

1414
This article describes how to download your personal license key and use it to activate the Telerik UI for ASP.NET AJAX components.
1515

1616
A missing or invalid license results in [errors and warnings]({%slug licensing/license-errors-warnings%}) during build and run-time indicators such as watermarks and banners.
1717

1818
## Setup your License Key
1919

20-
Due to the differences between `Web Application Project` and `Web Site Project`, the steps to activate the license will differ. One of the easiest ways to distinguish them is by checking if the project has a project file (`.csproj`/`.vbproj`) or not.
20+
Due to the differences between `Web Application Project` and `Web Site Project`, the steps to activate the license will differ.
2121

22-
- `Web Application Projects` > have a Project file.
23-
- `Web Site Projects` > do not have a Project file.
22+
`Web Application Projects` have a `.csproj`/`.vbproj` file, whereas the `Web Site Projects` do not. For more details about the differences you can check out the following Microsoft documentation article: [Web Application Projects versus Web Site Projects in Visual Studio](https://learn.microsoft.com/en-us/previous-versions/aspnet/dd547590(v=vs.110)?redirectedfrom=MSDN).
2423

25-
For more details about the differences you can check out the following Microsoft documentation article: [Web Application Projects versus Web Site Projects in Visual Studio](https://learn.microsoft.com/en-us/previous-versions/aspnet/dd547590(v=vs.110)?redirectedfrom=MSDN).
24+
### Web Applications using NuGet
2625

27-
### Web Application
26+
Only for Web Application projects that have the `Telerik.UI.for.AspNet.Ajax.Net462` and `Telerik.Licensing` packages installed from NuGet, can be activated using a License File. Otherwise, an assembly attribute is required, see [Web Applications without NuGet and Web Sites](#web-applications-without-nuget-and-web-sites) section.
2827

2928
To download and install your Telerik license key file:
3029

3130
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
3231
2. Click the **Download License Key** button.
3332
3. Save the `telerik-license.txt` file to your user profile directory `%AppData%\Telerik\telerik-license.txt`, for example, `C:\Users\...\AppData\Roaming\Telerik\telerik-license.txt`
3433

35-
This will make the license key available to all Telerik applications that you develop on your local machine. If you need to activate Telerik UI for ASP.NET AJAX only in a specific application, save the `telerik-license.txt` to the root folder of this project or solution.
34+
>This will make the license key available to all Telerik applications that you develop on your local machine. If you need to activate Telerik UI for ASP.NET AJAX only in a specific application, save the `telerik-license.txt` to the root folder of this project or solution.
3635
37-
### Web Site
36+
### Web Applications without NuGet and Web Sites
3837

39-
The license for Web Sites projects can be activated by adding a license Script key:
38+
Web Applications projects that do not use NuGet and Web Site projects require an assembly attribute, containing the License Key. Follow the steps below:
4039

4140
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
4241
1. On the Telerik UI for ASP.NET AJAX row, click the `View key` link.
4342
1. Select the language (`C# KEY` or `VB KEY`) and click the `Copy and close` button to copy the Script Key to your clipboard.
44-
1. Add a C#/VB Class file to the `App_Code` directory of your project, e.g. `App_Code\TelerikLicense.cs` and paste the Script Key from your clipboard.
43+
1. Adding the License Key script:
44+
- **Web Application**: Paste the copied key to the `Properties > AssemblyInfo`
45+
- **Web Site**: Add a C#/VB Class file to the `App_Code` directory of your project, e.g. `App_Code\TelerikLicense.cs` and paste the Script Key from your clipboard.
4546

46-
To activate the license in other Web Site projects, repeat these steps.
47+
>To activate the license in other projects, repeat these steps.
4748
4849
## See Also
4950

0 commit comments

Comments
 (0)