TX Sheet Control

Licensing

Topic

TX Sheet Control runs only with a license file, tx-sheet-control.license, which Text Control issues for each serial number. One file covers both the browser editor and server processing. There are three types: a fully functional 30-day Trial license, a perpetual Developer license for development and testing with the editor and for server processing on two production server instances, and a perpetual OEM license for deploying the editor to users and server processing on any number of servers. Perpetual licenses cover their major version, all 2.x releases for version 2.

Trial, Developer and OEM Entitlements

Every license file issued by the Text Control Account covers both components, SheetEditor for the browser editor and ServerSheetControl for server processing. TX Sheet Control checks the license entirely offline: there is no activation, no machine binding, no server counting and no licensing network call.

TypeServer entitlementEditorExpiration
trialFully functionalTrial watermark30 days, ending when the trial serial number expires
developerTwo production server instances, a contractual limit that TX Sheet Control does not countDevelopment and testing only, with a permanent Development License watermarkPerpetual for the licensed major version
oemUnlimited production server instancesDeployment to any number of users, without a watermarkPerpetual for the licensed major version

An OEM license is required to make the editor available to the users of an application, internal users included. A Developer license allows production use only for server processing, on up to two server instances in total. Every simultaneously running instance counts, also the instances of a load balancer, a cluster or a failover setup; the number of users who access the server processing is not limited. The OEM license also allows you to distribute your application to customers.

PDF and XLSX Branding

LicenseExported by the editorExported by the server packages
TrialTrial watermark on every PDF page; trial notice in XLSX custom document propertiesTrial watermark on every PDF page; trial notice in XLSX custom document properties
DeveloperDevelopment License watermark on every PDF page; development notice in XLSX custom document propertiesNo watermark or notice
OEMNo watermark or noticeNo watermark or notice

The notice in XLSX files is the custom document property TXSheetControl.LicenseNotice, a fixed text without serial numbers, license IDs or customer names. It does not change cells, formats or drawings, and the other custom properties stay. An export without a notice, such as one under an OEM license, removes the notice that an imported trial or developer workbook carries. TXWB files and workbook JSON contain neither watermarks nor the license.

Get the License File

Every TX Sheet Control serial number has its own license file, for a trial as for a purchase. Serial numbers use the XA- prefix followed by ten digits, for example XA-0123456789. The serial number itself is not a license: TX Sheet Control needs the license file.

The license file comes with the email that Text Control sends when the account holder assigns the serial number to a developer. Its License button opens a download page, where the file can be downloaded up to three times within seven days. A serial number of the OEM Unlimited Deployment license comes with the license file only, without the installation and NuGet access. Download TX Sheet Control describes the assignment, the email and what to do when a file is lost.

The file is called tx-sheet-control.license. It is a UTF-8 text file holding one license, the lines -----BEGIN TX SHEET CONTROL LICENSE----- and -----END TX SHEET CONTROL LICENSE----- around lines of hexadecimal characters. Every file issued for the same serial number has the same license ID and, for a trial, a 30-day trial period that ends when the trial serial number expires, so downloading the file again does not extend a trial. The OEM license is bought in addition to the Developer licenses and has its own serial number and license file: configure the OEM license file in the application you deploy.

If Text Control extends your trial, a file you already have keeps its end date. Ask the account holder to reassign the serial number to you, and download a new file from the new assignment email: its 30-day period ends on the new expiry date. A trial period can't start later than the download, so if the trial ends more than 30 days after the download, download another file later for the rest of the trial.

What the License Contains

The license is signed by Text Control. It names:

  • The company the license is issued to: the organization of the billing address of your Text Control account, or the ID of the account when it has no billing address, as is the case for an account that has only requested a trial.
  • The serial number and the product: its product code, name and description, as in the Text Control Store.
  • The license ID, TRIAL-V2- followed by a UUID for a trial and LIC-V2- followed by a UUID for a Developer or OEM license.
  • The license type, trial, developer or oem, and the components it covers, SheetEditor and ServerSheetControl.
  • For a trial only, the start and the end of its 30-day period.

The licensed major version is taken from the product code: SH-0200-XA-S is version 2.0, so the license covers every 2.x release of TX Sheet Control, and no release of another major version.

The browser editor needs the license in the browser. Changing a single character makes it invalid, and only the Text Control Account can issue one. Keep the file confidential, as the download page asks: keep it out of public repositories, public examples and support requests. The license does not control who can use your application; authentication and authorization belong to your application.

Configure the License Before Startup

Read tx-sheet-control.license as UTF-8 and pass its complete contents, including the two BEGIN and END lines, in the license option before creating the editor or server. Line breaks, CR LF line endings, indentation and whitespace around the license are ignored, so the contents can also come from a configuration file or an environment variable.

const control = new TXTextControl.TXSheetControl.Spreadsheet(host, {
    license: licenseText
});
await control.ready;
control.workbook.sheets.at(0).cell('A1').setText('Quarterly report');

The other integrations take the same text:

Await ready before you use the editor's workbook.

Blazor Licensing

In Blazor Server and WebAssembly, pass the contents of the license file in SheetControlOptions.License. The browser checks the license before the component raises Ready, and a failure reaches the Error callback with its error code; awaited API calls throw ServerSheetControlException. await control.GetLicenseInfoAsync() returns the license information. In WebAssembly, the license is part of the published files, as Blazor Applications explains.

var options = new TXTextControl.TXSheetControl.Blazor.SheetControlOptions
{
    License = licenseText
};

See the Blazor tutorial for component setup.

How the License Is Checked

TX Sheet Control checks the license when the editor or server control is created, without contacting a server. The checks run in this order, and the first that fails rejects the license with its error code:

  1. The format. The license must be present, begin and end with the TX SHEET CONTROL LICENSE lines and hold valid hexadecimal characters.
  2. The signature. The signature of the Text Control Account must verify with the key built into TX Sheet Control.
  3. The contents. Every field must be present and valid.
  4. The component. The license must cover the running component, SheetEditor for the editor and ServerSheetControl for server processing.
  5. The major version. The major version of the product code must be the major version of TX Sheet Control, 2 for every 2.x release.
  6. The trial period, for a trial only. The current time must be within the 30-day period of the license.
Error codeMeaningWhat to do
LicenseMissingNo license was configured, or it is empty.Pass the contents of tx-sheet-control.license in the license option, or set TX_SHEET_LICENSE for server processing.
LicenseUnsupportedFormatThe text isn't a TX Sheet Control license: the BEGIN or END line is missing or different, for example a DS Server license or the hexadecimal lines alone.Pass the complete file, including both lines.
LicenseMalformedThe hexadecimal characters or the contents are invalid, for example after a copy that lost or changed characters, or a license of a format TX Sheet Control doesn't read.Download the license file again, and pass it unchanged.
LicenseSignatureInvalidThe license was changed after it was issued, or wasn't issued by the Text Control Account.Use the unchanged file from the download page.
LicenseProductNotCoveredThe license doesn't cover the running component.Use a license issued by the Text Control Account, which covers both components.
LicenseVersionNotCoveredThe license is for another major version, for example a 1.x or 3.x license with TX Sheet Control 2.x.Use the license of a serial number for the major version you run, or install the version your license covers.
TrialNotStartedThe trial period hasn't started yet, for example because the system clock is wrong.Correct the system time.
TrialExpiredThe 30-day trial period has ended. Downloading the license file again doesn't start a new one.Purchase a Developer or OEM license and use its license file.

The type LicenseErrorCode also declares LicenseUnknownKey and LicenseNotReady. A license issued by the Text Control Account never fails with either: LicenseUnknownKey doesn't apply to it, and LicenseNotReady is a state of the control's own initialization, not a property of the license. Error messages never contain the license or any part of it.

Read the License Information

licenseInfo on the editor and on the server control, and LicenseInfo in .NET, return what the license contains under the names of the API, as a read-only snapshot that never grants a license itself:

PropertyValue
customerNameThe company the license is issued to.
licenseIdThe license ID, the same for every file of the serial number.
typetrial, developer or oem.
productsThe covered components, SheetEditor and ServerSheetControl.
majorVersionThe licensed major version, 2, read from the product code.
issuedAt, expiresAtFor a trial, the start and the end of its period as ISO 8601 UTC strings, such as 2026-11-16T09:00:00.000Z. Absent for Developer and OEM licenses.
trialSecondsRemainingFor a trial, the whole seconds left until expiresAt, rounded up. Absent for Developer and OEM licenses.
isValidWhether the license was valid when the information was read.

Browser Initialization Errors

When license validation fails, the browser editor displays an accessible alert inside its host. For LicenseMissing, the message is "TX Sheet Control requires a valid license. Configure a Trial, Developer, or OEM license to display the editor."

The editor also writes one actionable console.error for the failed initialization. It includes the error code and the JavaScript/TypeScript, Angular and ASP.NET Core configuration options. The display and log use fixed text; they do not include the license, serial numbers or customer information.

Your code receives the failure as well: the constructor throws for errors it detects at once, ready rejects for the others, Angular emits initializationError, the Tag Helper dispatches txsheetcontrolerror and Blazor calls Error. Handle the failure in your application; the editor has already written it to the console. The editor never runs without a valid license.

A failed editor releases itself and its listeners, but its alert stays in the host so that users can read it. To retry, configure a valid license and create a new editor in the same host, which removes the alert; in Angular, recreate the component with corrected options.

The server packages throw a LicenseError in Node.js, with the error code in its code property, or a LicenseException in .NET, with the error code in its Code property. They write nothing to the console.

Full License Agreement

The End User License Agreement defines development, production deployment and distribution rights. It applies to the full product and includes the Trial, Developer and OEM terms.

Next Steps