Click or drag to resize
DiscussionButtons Class
BBCode buttons control.
Inheritance Hierarchy

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
public class DiscussionButtons : Panel

The DiscussionButtons type exposes the following members.

Constructors
  NameDescription
Public methodDiscussionButtons
Top
Fields
  NameDescription
Protected fieldbtnAdvancedImage
Insert media button.
Protected fieldbtnAdvancedUrl
Insert link button.
Protected fieldbtnBold
Sets text font style to bold button.
Protected fieldbtnCode
Insert code button.
Protected fieldbtnColor
Sets text color button.
Protected fieldbtnImage
Insert image button.
Protected fieldbtnItalic
Sets text font style to italics button.
Protected fieldbtnQuote
Insert quote button.
Protected fieldbtnStrike
Sets text font style to strikedthrough button.
Protected fieldbtnUnderline
Sets text font style to underlined button.
Protected fieldbtnUrl
Insert URL button.
Top
Properties
  NameDescription
Public propertyButtonsCssClass
Gets or sets buttons CSS class.
Public propertyControlID
Gets or sets the ClientID of the control (TextArea) where the buttons will insert the macros.
Public propertyEnabled
Determines whether the control is enabled or disabled.
(Overrides WebControlEnabled.)
Public propertyImageDialogConfig
Configuration of the dialog for inserting Images.
Public propertyIsLiveSite
Indicates if the control is used on the live site.
Public propertyShowAdvancedImage
Gets or sets the value which determines whether to display button for media insertion.
Public propertyShowAdvancedURL
Gets or sets the value which determines whether to display button for link insertion.
Public propertyShowBold
Gets or sets the value which determines whether to display button for Bold font style tag insertion.
Public propertyShowCode
Gets or sets the value which determines whether to display button for Code tag insertion.
Public propertyShowColor
Gets or sets the value which determines whether to display button for Font color style tag insertion.
Public propertyShowImage
Gets or sets the value which determines whether to display button for Image tag insertion.
Public propertyShowItalic
Gets or sets the value which determines whether to display button for Italic font style tag insertion.
Public propertyShowQuote
Gets or sets the value which determines whether to display button for Quote tag insertion.
Public propertyShowStrike
Gets or sets the value which determines whether to display button for Strikedthrough font style tag insertion.
Public propertyShowUnderline
Gets or sets the value which determines whether to display button for Underline font style tag insertion.
Public propertyShowURL
Gets or sets the value which determines whether to display button for URL tag insertion.
Public propertyURLDialogConfig
Configuration of the dialog for inserting URLs.
Public propertyUsePromptDialog
Gets or sets the value which determines whether the prompt dialog will be used. Prompt dialog doesn't work properly with modal window.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
See Also