ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - HTML Editor - Server side

Obout.Ajax.UI.HTMLEditor.ToolbarButton.OpenPopupButton abstract class

 Inheritance Hierarchy

<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor.ToolbarButton" TagPrefix="obout" %>

Base class for method buttons that are shown in design mode and open popups .

Public properties

Name Description
propertyActiveModes Collection<ActiveModeType> sealed overridden. Gets the collection of edit modes when this button is visible in toolbar. (Inherited from CommonButton.)

Here the collection always contains one item:
propertyClientID String. Gets the server control identifier generated by ASP.NET. (Inherited from Control.)
propertyCssClass String overridable. Gets the CSS class for the button. (Inherited from WebControl.)
Default "ajax__htmleditor_toolbar_button".
propertyDefaultToolTip String overridable. Gets the default tooltip when not found in Localization file. (Inherited from CommonButton.)
Default String.Empty .
propertyID String. Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.)
propertyRelatedPopup Popups.Popup overridable. Gets or sets(protected) the associated popup.
propertyRelatedPopupType String. Gets or sets the Assembly-qualified name of the associated popup's type.
Default String.Empty .

See online example.

Protected properties

Name Description
propertyButtonImagesFolder String overridable. Gets the buttons images folder. If empty then the embedded images are in use. (Inherited from ImageButton.)
Default String.Empty .
propertyBaseImageExtension String overridable. Gets the base image extension for the button. (Inherited from ImageButton.)
Default "gif".
propertyBaseImageName String overridable. Gets the base image name for the button. (Inherited from ImageButton.)

Example:
The following images must exist in case of the base image name "ed_date":
ed_date_n.gif - normal button's image;
ed_date_a.gif - image when the button is pressed or active.
propertyClientControlType String overridable. Gets the script type to use for the Control. (Inherited from CommonButton.)
propertyIsStatus Bool overridable. Gets a value indicating whether the button's state is checked on every parent toolbar update. (Inherited from CommonButton.)
Default false.
propertyScriptPath String overridable. Gets the path of the script file where the associated script type is defined. (Inherited from CommonButton.)

Example of custom popup button

[ParseChildren(true)]
[PersistChildren(false)]
[RequiredScript(typeof(OpenPopupButton))]
[ButtonsList(true)]
public class InsertIcon : OpenPopupButton
{
  public override Popups.Popup RelatedPopup
  {
     get
     {
        if (base.RelatedPopup == null)
        {
           base.RelatedPopup = new CustomPopups.InsertIconPopup();
        }
        return base.RelatedPopup;
     }
  }

  protected override string ButtonImagesFolder
  {
     get { return "~/App_Obout/HTMLEditor/customButtons/"; }
  }

  public override string DefaultToolTip
  {
     get { return "Insert predefined icon"; }
  }

  protected override string BaseImageName
  {
     get { return "ed_insertIcon"; }
  }
}

"My Feedback for Product: The obout GRID control is the best and easiest grid control I have ever used till date. It has all the features that needs to be, within a GRID and it’s so user friendly that even a layman can use it just by drag and drop and few lines of code. My Feedback for Support: Honestly speaking, I had not expected the first response from obout that quickly. I mean, I got the response to my query in less than 20 minutes (which is really amazing) and I was really shock to see that. And also, good to see the way Obout team works to fix the issue so quickly. Please continue do design and develop the best tools that are really helpful for the developers in the IT market."

Rohan Lopes

Random testimonial   All testimonials