The Editor type exposes the following members.

Properties

  Name Description
Public property AccessKey
Gets or sets the access key (underlined letter) that allows you to quickly navigate to the Web server control.
(Overrides WebControl..::..AccessKey.)
Public property ActiveTab
Gets or sets which Tab is active (Edit/Code/View). Read/write.
Protected property Adapter
Gets the browser-specific adapter for the control.
(Inherited from Control.)
Public property AllowEditServerSideCode
By default Cute Editor doesn't allow edit the Server side code. When this property is set to true, Cute Editor will allow edit the Server side code. (<%@ Page Language="C#" %> <%=MyString %> <asp:textbox id="textbox1" runat="server"></asp:textbox>)
Public property AllowPasteHtml
Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.
Public property AppRelativeTemplateSourceDirectory
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control.)
Public property Attributes
Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
(Inherited from WebControl.)
Public property AutoConfigure
Auto configures the toolbar with a set of buttons. Provides a mechanism for rapidly autoconfigures the toolbar with a set of predefined buttons. For example to enable every toolbar button and menu, do this: editor1.AutoConfigure(Config.Full). Note that this method will affect properties of the editor, so it is usually best to call it before any other property or method.
Public property AutoParseClasses
Specifies whether or not the Cute Editor should automatically parse the CSS classes from EditorWysiwygModeCss and populate all items into CssClass dropdown
Public property BackColor
Gets or sets the background color of the Web server control.
(Overrides WebControl..::..BackColor.)
Public property BaseHref
Sets or retrieves the baseline URL on which relative links will be based.
Public property BindingContainer
Gets the control that contains this control's data binding.
(Inherited from Control.)
Public property BorderColor
Specifies the color of the border around the outside of the Cute Editor
(Overrides WebControl..::..BorderColor.)
Public property BorderStyle
Specifies the style of border used around the outside of the Cute Editor
(Overrides WebControl..::..BorderStyle.)
Public property BorderWidth
Specifies the width of the border around the outside of the Cute Editor
(Overrides WebControl..::..BorderWidth.)
Public property BottomTemplate
Gets or sets the bottom template. This property allows developers add controls to the bottom of the Editor control.
Public property BreakElement
Specifies the behavior when the "enter" key is pressed in the editor The default is BreakElement.Div.
Public property BrowserType
Gets the browser type as detected by the HTTP headers sent by the browser.
Protected property ChildControlsCreated
Gets a value that indicates whether the server control's child controls have been created.
(Inherited from Control.)
Public property ClientID
Gets the server control identifier generated by ASP.NET.
(Overrides Control..::..ClientID.)
Protected property ClientIDSeparator
Gets a character value representing the separator character used in the ClientID property.
(Inherited from Control.)
Public property CodeViewTemplateItemList
The toolbar items used in the editor Code View going to this string. Example CodeViewTemplateItemList="Save,Print,Cut,Copy,Paste,Find,ToFullPage,FromFullPage,SelectAll
Public property CodeViewToolBarID
Get the id of the Cute Editor ToolBar
Public property CodeViewToolControls
Get A collection of the buttons/dropdowns in the Code View toolbar
Public property ConfigurationPath
Specifies the directory path which contains XML file (*.config). The XML file defines the toolbar appearance. Developers can use this property to specify a directory to store custom configuration files.
Protected property Context Obsolete.
Public property ContextMenuMode
Determines the appearance and behavior of menus associated with the Context menu.
Public property Controls
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control.)
Public property ControlStyle
Gets the style of the Web server control. This property is used primarily by control developers.
(Inherited from WebControl.)
Public property ControlStyleCreated
Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
(Inherited from WebControl.)
Public property ConvertHTMLTagstoLowercase
By default CuteEditor converts all HTML tags of the finally generated content to lower case. You can turn this feature off by setting this property to false.
Public property CssClass
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
(Inherited from WebControl.)
Public property CultureType
This property sets the behavior for determining how the current culture is chosen for the CuteEditor. Server uses the The System.Threading.Thread.CurrentThread.CurrentCulture.Name , Client uses language settings from the clients browser Page.Request.UserLanguages[0] , Custom: You can use the Editor.CustomCulture property to specify the culture in the current thread.
Public property CustomCulture
Specifies the culture name Only available when Editor.CultureType=CultureType.Custom
Protected property DesignMode
Gets a value indicating whether a control is being used on a design surface.
(Inherited from Control.)
Public property DisableClassList
The class items in the CssClass dropdown needed to be disabled going to this string. Example DisableClassList="BreadCrumb, TopicMenu, Footer"
Public property DisableItemList
The toolbar items needed to be disabled going to this string. Example DisableItemList="Bold, New, Delete"
Public property DNN_Arg
Provides a mechanism for developers to pass parameters between pages using query strings.
Public property DOCTYPE
Cute Editor allows you to edit a full HTML page, including <title>, <!DOCTYPE...> and some other options. You can use this property to specify the DOCTYPE (document type declaration) which will appear at the very top of every web page.
Public property DownLevelColumns
Gets or sets the columns property of the downlevel TEXTAREA
Public property DownLevelRows
Gets or sets the rows property of the downlevel TEXTAREA
Public property EditCompleteDocument
Specifies whether a complete HTML document is being edited.
Public property EditorBodyClass
Specifies the Class name that will be added to the body of the editor document.
Public property EditorBodyId
Specifies an Id name that will be added to the body of the editor document.
Public property EditorBodyStyle
The style to be applied to the Editor body.
Public property EditorOnPaste
Specifies the manner in which the editor handles pasted text.
Public property EditorWysiwygModeCss
Specifies the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported. Example EditorWysiwygModeCss="example.css,~/portal.css,/default.css"
Public property EmptyAlternateText
Specifies the manners in which the editor handles images without alternate text specified or images with empty alternate text.
Public property EnableAntiSpamEmailEncoder
Email contact links are an invaluable part of any web page. However, they are also vulnerable to a particular type of web robot known as the spam harvester or spambot. A spam harvester can read through the pages in your site and extract email addresses which are then added to bulk marketing databases. CuteEditor allows you reduce possible spam by 'disguising' a raw email address in an encoded ASCII form.. You can turn this feature off by setting this property to "false".
Public property EnableBrowserContextMenu
Specifies whether the browser context menu is enabled. Set this to false to disable the browser context menu.
Public property EnableClientScript
Whether to enable the client script based HTML editor. If false, the Cute Editor will render as a regular textarea field instead of a WYSIWYG editor.
Public property EnableContextMenu
Specifies whether the context menu is enabled.
Public property Enabled
Specifies whether the control is enabled. If it's disabled, the content is readonly.
(Overrides WebControl..::..Enabled.)
Public property EnableDragDrop
Enables or disables drag-and-drop support for the editor.
Public property EnableObjectResizing
Specifies whether or not to allow the users resize an object winthin the Cute Editor. For example, if you want to prevent people from resizing images, table winthin the Cute Editor, you can set it to false.
Public property EnableStripIframeTags
Specifies whether to remove inject Iframe tags before writing the string into the db. When this property is set to true (the default) Cute Editor strips all iframe tags from the html to prevent iframe injection attack.
Public property EnableStripLinkTagsCodeInjection
Specifies whether to remove <link> tags which contain malicious, client-side executable code before writing the string into the db. When this property is set to true (the default) Cute Editor strips all <link> tags which contain malicious, client-side executable code from the html to prevent link tag injection attack.
Public property EnableStripScriptTags
Specifies whether to strip all script elements and script contents from the html to prevent javaScript injection. When this property is set to true (the default) Cute Editor strips all script elements and script contents from the html.
Public property EnableStripStyleTagsCodeInjection
Specifies whether to remove inject <Style> tags which contain malicious, client-side executable code before writing the string into the db. When this property is set to true (the default) Cute Editor strips all <Style> tags which contain malicious, client-side executable code from the html to prevent style tag injection attack.
Public property EnableTheming
Gets or sets a value indicating whether themes apply to this control.
(Inherited from WebControl.)
Public property EnableViewState
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
(Inherited from Control.)
Public property EncodeHiddenValue
By default Cute Editor will encode the value in the Hidden field automatically. You can turn it off by setting this property to "false". If this property is set to false, ValidateRequest="false" in the page directive is required.
Protected property Events
Gets a list of event handler delegates for the control. This property is read-only.
(Inherited from Control.)
Public property FilesPath Obsolete.
This property is obsoleted. To specify the path to editor files, please add the following key to the appSettings in your web.config. <add key="CuteEditorDefaultFilesPath" value="~/Editor" />
Public property Focus
Specifies whether the editor grabs focus when the page loads. If this property is set to true then the editor will take focus, if it is set to false it will not.
Public property Font
Gets the font properties associated with the Web server control.
(Inherited from WebControl.)
Public property ForeColor
Gets or sets the foreground color (typically the color of the text) of the Web server control.
(Inherited from WebControl.)
Public property FrameID
Get the id of the IFrame
Public property FrameStyle
Allow user to change the IFrame's Style
Public property FullPage
Specifies the FullPage state
Public property HasAttributes
Gets a value indicating whether the control has attributes set.
(Inherited from WebControl.)
Protected property HasChildViewState
Gets a value indicating whether the current server control's child controls have any saved view-state settings.
(Inherited from Control.)
Public property Height
Specifies the height of the Cute Editor control on the page.
(Overrides WebControl..::..Height.)
Public property HelpUrl
Specifies the url when the help button click
Public property HyperlinkTarget
Specifies where the linked document will be opened when the user follows a link.
Public property ID
Gets or sets the programmatic identifier assigned to the Cute Editor control.
(Overrides Control..::..ID.)
Protected property IdSeparator
Gets the character used to separate control identifiers.
(Inherited from Control.)
Protected property IsChildControlStateCleared
Gets a value indicating whether controls contained within this control have control state.
(Inherited from Control.)
Protected property IsEnabled
Gets a value indicating whether the control is enabled.
(Inherited from WebControl.)
Protected property IsTrackingViewState
Gets a value that indicates whether the server control is saving changes to its view state.
(Inherited from Control.)
Protected property IsViewStateEnabled
Gets a value indicating whether view state is enabled for this control.
(Inherited from Control.)
Protected property LoadViewStateByID
Gets a value indicating whether the control participates in loading its view state by ID instead of index.
(Inherited from Control.)
Public property MaintainAspectRatioWhenDraggingImage
If you do not want to preserve the aspect ratio when you drag and resize an image, you can set the MaintainAspectRatioWhenDraggingImage property to false. By default, MaintainAspectRatioWhenDraggingImage is set to true to enable the preservation of the aspect ratio.
Public property MaxHTMLLength
Gets or sets the maximum number of characters including the HTML tags allowed in the Cute Editor. Default is zero, indicating no maximum.
Public property MaxTextLength
Gets or sets the maximum number of characters excluding the HTML tags allowed in the Cute Editor. Default is zero, indicating no maximum.
Public property NamingContainer
Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
(Inherited from Control.)
Public property Page
Gets a reference to the Page instance that contains the server control.
(Inherited from Control.)
Public property Parent
Gets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control.)
Public property PlainText
Retrieves the CuteEditor HTML content in plain text format.
Public property PlainTextWithLinefeeds
Retrieves the CuteEditor HTML content in plain text format and replace carriage returns with the appropriate br and p tags for breaks.
Public property PreviewModeCss
Specifies the location of the style sheet that will be used by the preview window. Multiple Style Sheets are supported. Example PreviewModeCss="example.css,~/portal.css,/default.css"
Public property PrintFullWebPage
By default Cute Editor will print the content in the editing area only. When this property is set to true, Cute Editor will print the whole web page.
Public property ReadOnly
Specifies whether the content is readonly
Public property RemoveServerNamesFromUrl Obsolete.
Please use URLType property.
Public property RemoveTBODYTag
By default Internet Explorer HTML parser automatically insert TBODY tag after any TABLE tag. When this property is set to true, CuteEditor strips out the TBODY tags.
Public property RenderRichDropDown
Specifies whether the dropdown render as rich style .
Public property ResizeMode
Gets or sets the way the editor is resized.
Public property ResizeStep
Gets or sets the resize step in pixels used when the user clicks on "+" or "-" to resize the editor.
Public property RichEditingIsAvailable
Whether to enable the client script based HTML editor. Returns a boolean value indicating whether the editor will provide rich-text editing. The decision should be based on both browser capabilities and on the page developer's choice. This property returns true if the end-user loads the page using Internet Explorer 5.5 or later running on Windows and the editor EnableClientScript property value is set to true.
Public property SecurityPolicyFile
Specifies the Security Policy File which contains a configurable set of rules called security policy.
Public property ServerName
Get the server name
Public property Setting
Public property ShowBottomBar
Specifies whether the Bottom Bar(Design, Html and Preview Mode tab) appear.
Public property ShowCodeViewToolBar
Specifies whether toolbars in the Cute Editor Code View are visible
Public property ShowDecreaseButton
Specifies whether the Decrease editing window button appear.
Public property ShowEditMode
Specifies whether the Edit Mode tab appear.
Public property ShowEnlargeButton
Specifies whether the Enlarge editing window button appear.
Public property ShowGroupMenuImage
Specifies whether the CuteEditor group menu start image and end image appear.
Public property ShowHtmlMode
Specifies whether the Html Mode tab appear.
Public property ShowPreviewMode
Specifies whether the Preview Mode tab appear.
Public property ShowTagSelector
Specifies whether quick tag selector toolbar appear.
Public property ShowToolBar
Specifies whether toolbars in the Cute Editor control are visible
Public property ShowWordCount
Specifies whether the Word Count toolbar appear.
Public property Site
Gets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control.)
Public property SkinID
Gets or sets the skin to apply to the control.
(Inherited from WebControl.)
Public property Style
Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
(Inherited from WebControl.)
Public property StyleWithCSS
This property is used for toggling the format of generated content. An example of the differences is that the "bold" command will generate <b> if the StyleWithCSS command is false and generate css style attribute (font-weight: bold) if the StyleWithCSS command is true.
Public property TabIndex
Gets or sets the tab index of the Web server control.
(Inherited from WebControl.)
Public property TabSpaces
Gets or sets the number of spaces to be inserted when the user hits the "tab" key
Protected property TagKey
Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers.
(Inherited from WebControl.)
Protected property TagName
Gets the name of the control tag. This property is used primarily by control developers.
(Inherited from WebControl.)
Public property TemplateControl
Gets or sets a reference to the template that contains this control.
(Inherited from Control.)
Public property TemplateItemList
Gets or sets the template or layout to use for the toolbars.
Public property TemplateSourceDirectory
Gets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control.)
Public property TemplateUrl
Specifies the url to load in the IFrame
Public property Text
This property provides access to the text within the editable area of the CuteEditor control. It can be used to set the text when the control is first displayed and also to read out the text when a form has been submitted.
Public property TextAreaStyle
Gets the style of the editor control when rendering as a Textarea.
Public property ThemeType
Sets the theme for how the toolbar is draw. You can create your custom skin or choose from predefined themes: Custom / Office2007 / Office2003 / Office2003_BlueTheme / Office2000 / OfficeXP /
Public property ToggleBorder
Specifies the ToggleBorder state. ToggleBorder is a handy function which allows you to see the borders without setting things to border = 1 or something like that in code. It's used for all HTML Tables, HTML Cells, Forms and Divs.
Public property ToolBarID
Get the id of the Cute Editor ToolBar
Public property ToolControls
Get A collection of the buttons/dropdowns in the Edit View toolbar
Public property ToolTip
Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
(Overrides WebControl..::..ToolTip.)
Public property UniqueID
Gets the unique, hierarchically qualified identifier for the server control.
(Inherited from Control.)
Public property URLType
Specifies whether the URL should be converted to a site root relative path (/html/images/image1.gif) or an absolute path (http://www.mysite.com/images/image1.gif).
Public property UseFloatToolbar
TODO:UseFloatToolbar
Public property UseFontTags
Font tags are now deprecated, meaning that they aren't used any more and will cause validation errors. Many legacy pages still contain style information in font tags. By default Cute Editor converts font tags to span tags. <font face="times" size="4" color="#ffffff">your text</font> would be replaced with <span style="font-family: times, serif; font-size: 110%; color:#ffffff">your text</span> If you still want to use font tags, you can set this property to true.
Public property UseHTMLEntities
By default Cute Editor maps most special characters to the equivalent HTML entity automatically. You can turn it off by setting this property to "false".
Public property UseHttpHandlerCacheImages Obsolete.
By default Cute Editor will use HttpHandler process the image files on the server side. You can turn this feature off by setting this property to false.
Public property UsePhysicalFormattingTags
These are two types of text formatting tags -- logical formatting tags ( <strong> and <em> ), which describe the information in the element, and physical formatting tags (<b> and <i>), which specify its appearance. By default CuteEditor use the logical formatting tags ( <strong> and <em> ). If you want to use the physical tags (<b> and <i>), you can set this property to true.
Public property UseRelativeLinks Obsolete.
Please use URLType property.
Public property UseSimpleAmpersand
W3C recommend that all '&' in query strings be converted to &amp; This is the only way to get a piece of HTML validated. The reason is that & is the start of an HTML entity, such as &pound;

So this:

        <a href="page.aspx?var1=one&amp;va­r2=two">link</a>
is valid, whereas:
        <a href="page.aspx?var1=one&var2=t­wo">link</a>
isn't.
If you still want to use simple Ampersand in query strings, you can set this property to true. if you want to retrieve the CuteEditor HTML content in XHTML format, the 'UseSimpleAmpersand' property will be ignored.
Public property UseStandardDialog
If you want to use standard popup windows for all dialogs, set this property to true.
Protected property ViewState
Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
(Inherited from Control.)
Protected property ViewStateIgnoresCase
Gets a value that indicates whether the StateBag object is case-insensitive.
(Inherited from Control.)
Public property Visible
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from Control.)
Public property Width
Specifies the width of the Cute Editor control on the page.
(Overrides WebControl..::..Width.)
Public property XHTML
Retrieves the CuteEditor HTML content in XHTML format.

See Also