Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Collapse]DevExpress.Web.ASPxHtmlEditor.Scripts
   [Expand]ASPxClientCommandConsts Class
   [Expand]ASPxClientHtmlEditor Class
   [Expand]ASPxClientHtmlEditorAudioDialog Class
   [Expand]ASPxClientHtmlEditorBeforePasteEventArgs Class
    ASPxClientHtmlEditorBeforePasteEventHandler Delegate
   [Expand]ASPxClientHtmlEditorChangeAudioCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeElementPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorChangeFlashCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeHtml5MediaElementCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeImageCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeMediaElementCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeYouTubeVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorCommandArguments Class
   [Expand]ASPxClientHtmlEditorCommandEventArgs Class
    ASPxClientHtmlEditorCommandEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCommandExecutingEventArgs Class
    ASPxClientHtmlEditorCommandExecutingEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCommandStyleSettings Class
   [Expand]ASPxClientHtmlEditorCustomDialogClosedEventArgs Class
    ASPxClientHtmlEditorCustomDialogClosedEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCustomDialogCloseEventArgsBase Class
   [Expand]ASPxClientHtmlEditorCustomDialogClosingEventArgs Class
    ASPxClientHtmlEditorCustomDialogClosingEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCustomDialogEventArgs Class
    ASPxClientHtmlEditorCustomDialogEventHandler Delegate
   [Expand]ASPxClientHtmlEditorDialogBase Class
   [Expand]ASPxClientHtmlEditorDialogClosedEventArgs Class
    ASPxClientHtmlEditorDialogClosedEventHandler Delegate
   [Expand]ASPxClientHtmlEditorDialogCloseEventArgs Class
   [Expand]ASPxClientHtmlEditorDialogClosingEventArgs Class
    ASPxClientHtmlEditorDialogClosingEventHandler Delegate
   [Expand]ASPxClientHtmlEditorDialogInitializedEventArgs Class
    ASPxClientHtmlEditorDialogInitializedEventHandler Delegate
   [Expand]ASPxClientHtmlEditorEditElementDialog Class
   [Expand]ASPxClientHtmlEditorFlashDialog Class
   [Expand]ASPxClientHtmlEditorImageDialog Class
   [Expand]ASPxClientHtmlEditorInsertAudioCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertFlashCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertImageCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertLinkCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertTableCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertTableDialog Class
   [Expand]ASPxClientHtmlEditorInsertVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertYouTubeVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorLinkDialog Class
   [Expand]ASPxClientHtmlEditorMediaDialogBase Class
   [Expand]ASPxClientHtmlEditorMediaPreloadMode Class
   [Expand]ASPxClientHtmlEditorPasteFromWordDialog Class
   [Expand]ASPxClientHtmlEditorPlaceholderDialog Class
   [Collapse]ASPxClientHtmlEditorSelection Class
     ASPxClientHtmlEditorSelection Members
     ASPxClientHtmlEditorSelection Constructor
    [Collapse]ASPxClientHtmlEditorSelection Methods
      GetElements Method
      GetHtml Method
      GetSelectedElement Method
      GetText Method
      SetHtml Method
   [Expand]ASPxClientHtmlEditorTabCancelEventArgs Class
    ASPxClientHtmlEditorTabCancelEventHandler Delegate
   [Expand]ASPxClientHtmlEditorTabEventArgs Class
    ASPxClientHtmlEditorTabEventHandler Delegate
   [Expand]ASPxClientHtmlEditorTableCellPropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableCellPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorTableColumnPropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableColumnPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorTableDialog Class
   [Expand]ASPxClientHtmlEditorTableDialogBase Class
   [Expand]ASPxClientHtmlEditorTableElementPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorTablePropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableRowPropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableRowPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorValidationEventArgs Class
    ASPxClientHtmlEditorValidationEventHandler Delegate
   [Expand]ASPxClientHtmlEditorVideoDialog Class
   [Expand]ASPxClientHtmlEditorYouTubeDialog Class
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxClientHtmlEditorSelection.GetText Method

Returns the text within the currently selected ASPxHtmlEditor content.

Namespace:DevExpress.Web.ASPxHtmlEditor.Scripts
Assembly:JavaScript

Expanded Syntax

Return value

Type: String
A string value, that specifies the currently selected text.

Expanded Remarks

Note

The GetText method is in effect only if the Design View is used.

Expanded See Also

Is this topic helpful?​​​​​​​