Skip to content

Commit 0f5ed80

Browse files
authored
Merge pull request #748 from telerik/dkrastev/m-KB
Update OpenEdge KB
2 parents c3d8bdd + b9cfb43 commit 0f5ed80

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

knowledge-base/add-license-key-openedge.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ I work in an OpenEdge environment and need to activate my Telerik UI for WinForm
2020

2121
## Solution
2222

23-
The following tutorial will demonstrate how to set up your license key in the OpenEdge environment.
23+
In OpenEdge ABL applications, it is crucial to register the Telerik WinForms license key before any Telerik control, form, or component is initialized — especially if your application starts with a Telerik form. The following tutorial demonstrates how to set up your license key in the OpenEdge environment, either in a Form or in a procedure file.
24+
25+
### Registering the License Key in the Form
2426

2527
1. Go to the [Setting Up Your Telerik UI for WinForms License Key](https://docs.telerik.com/devtools/winforms/licensing/license-key#downloading-the-license-key) and follow the first two sections of the article.
2628
1. Downloading the License Key
2729
1. Activating the Telerik UI for WinForms Components
2830

2931
1. Go to the [License Keys page](https://www.telerik.com/account/your-licenses/license-keys) in your Telerik account.
3032

31-
1. On the Telerik UI for WinForms row, click the **View key** link in the **SCRIPT KEY** column. Copy only the string in the first Telerik.Licensing.EvidenceAttribute("key").
33+
1. On the Telerik UI for WinForms row, click the **View key** link in the **SCRIPT KEY** column. __Copy ONLY the key string in the first Telerik.Licensing.EvidenceAttribute("key").__
3234

3335
![copy-license-key](images/add-license-key-openedge.png)
3436

@@ -37,7 +39,6 @@ The following tutorial will demonstrate how to set up your license key in the Op
3739
````ABL
3840
3941
CONSTRUCTOR PUBLIC Form1 ( ):
40-
// ActivePerpetual script key
4142
Telerik.Licensing.TelerikLicensing:Register("Your License Key").
4243
4344
InitializeComponent().
@@ -57,6 +58,14 @@ END CONSTRUCTOR.
5758

5859
>Do not publish the script license key snippet in publicly accessible repositories. This is your personal license key.
5960
61+
### Registering the License Key in a Procedure File
62+
63+
Unlike standard .NET applications, OpenEdge GUI applications always start from a procedure file (.p), not a class (.cls). This means there is always a non-GUI entry point where initialization code can safely run before any UI is loaded.
64+
65+
If registering the key inside a Form does not work — for example, when the first screen is a Telerik form — you should register the key earlier in your application's startup sequence.
66+
67+
For more advanced scenarios, including customizing the startup of your project, refer to the [Progress Developer Studio for OpenEdge Online Help](https://docs.progress.com/bundle/openedge-developer-studio-help/page/Customize-project-startup.html).
68+
6069

6170
## See Also
6271

-1.07 KB
Loading

0 commit comments

Comments
 (0)