• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of API in ASP.NET Core Rich Text Editor Control

This sample demonstrate the usage of API in Rich Text Editor, use the properties panel to change the maximum length, read only mode, disable status, to get value, enable HTML encode, select all content and get selected HTML from the Rich Text Editor.

DEMO
SOURCE
Max Length
Readonly
Enable
Enable HTML Encode

In this demos, Ensuring the API'S behavious by doing

  • Change the value of maxLength textbox to change maximum Length of character.
  • Click the readOnly check box to enable/disable editable and non-editable mode of the RTE.
  • Click the enabled check box to enable/disable the RTE component.
  • Click the enableHtmlEncode check box to enableHtmlEncode/disableHtmlEncode the RTE component.
  • Click the getValue button which shows the RTE values in the alert window.
  • Click the getSelection button which shows the selectedText in the alert window.
  • Click the selectAll button selecting all text content in the RTE.
Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab