Products Technologies Demo Docs Blog Support Company

This blog post contains outdated information.

The cited code snippets may be workarounds, and be part of the official API in the meantime.

HTML5: Enable Spell Checking Using Javascript

IMPORTANT: This feature is now part of the JavaScript API: Javascript: TXTextControl.isSpellCheckingEnabled property ? TX Text Control .NET Server ? JavaScript API ? TXTextControl Object ? isSpellCheckingEnabled Property Deprecated. By default, spell checking is disabled when using TX Spell .NET in combination with Web.TextControl. The user can activate it by clicking the Enable Spell Checking button in the View ribbon tab: In order to activate the proofing tools in your…

HTML5: Enable Spell Checking Using Javascript

IMPORTANT: This feature is now part of the JavaScript API:

Javascript: TXTextControl.isSpellCheckingEnabled property

By default, spell checking is disabled when using TX Spell .NET in combination with Web.TextControl. The user can activate it by clicking the Enable Spell Checking button in the View ribbon tab:

HTML5: Enable spell checking using Javascript

In order to activate the proofing tools in your application, TX Spell .NET needs to be installed on your development machine or server. If TX Spell .NET has been installed after TX Text Control .NET Server, you have to start the TX Text Control setup again in order to choose repair to update the installed Windows Service (spell checking will be activated and licensed, if a valid TX Spell .NET license is found on your development machine). This article shows in detail how to integrate spell checking to your Web.TextControl based application:

Web.TextControl and spell checking

In order to enable spell checking automatically when initializing TX Text Control, a Javascript command can be used:

TXTextControl.addEventListener("ribbonTabsLoaded", function (e) {
    // enable hidden JS interface
    TXTextControl.enableCommands();
    // enable spell checking: 1 = true, 0 = false
    TXTextControl.sendCommand(
        TXTextControl.Command.EnableSpellChecking, 1);
});

This command enables spell checking after TX Text Control has been loaded completely. The event ribbonTabsLoaded is fired when everything TX Text Control related is loaded and initialized.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

HTML5Spell CheckingTutorial

Web.TextControl and Spell Checking

In combination with the spell checking component TX Spell .NET for Windows Forms (with ASP.NET support), spell checking can be easily added to web-based applications created with TX Text Control…


ASP.NETJavaScriptDocument Editor

Detect Toggle Button Changes Using a MutationObserver

This article shows how to detect changes of toggle buttons in the ribbon of the web editor using a MutationObserver. The state of a toggle button in the ribbon visualizes the state of a certain…


AngularASP.NET CoreDocument Editor

Angular: Deploying the Backend TCP Service Separately

The Angular document editor requires an ASP.NET or ASP.NET Core backend connected to the TCP Service to synchronize the rendering. This article explains how to deploy the TCP Service separately…


ASP.NETDocument EditorHTML5

Implementing Conditional Table Cell Colors with MailMerge

This ASP.NET MVC sample shows how to implement conditional table cell colors using the online document editor and an ASP.NET backend.


ASP.NET CoreHTML5Middleware

Adding a WebSocket Security Middleware to ASP.NET Core Web Applications

This article shows how to add a security middleware to ASP.NET Core Web Applications to secure the WebSocketHandler requests.