ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.PopupStateArgs class

 Inheritance Hierarchy

Argument of this type is passed to the handlers of the popupStateChanged event.
Note Note
To get property values for client API properties, you must call property accessor method that is named with the get_ prefix. For example, to get a value for a property such as state, you call the get_state method:
var openedPopups = 0;
function popupStateChanged(sender, args) {
  var flyout = eval("<%=Flyout1.getClientID()%>");
  switch (args.get_state()) {
      case Obout.Ajax.UI.HTMLEditor.PopupStateType.LoadStart:
          // prevent to close Flyout while any Editor's popup is loading
          flyout.setCloseEvent("NONE");
          break;
      case Obout.Ajax.UI.HTMLEditor.PopupStateType.PreOpen:
          // prevent to close Flyout while any Editor's popup is opened
          flyout.setCloseEvent("NONE");
          openedPopups++;
          break;
      case Obout.Ajax.UI.HTMLEditor.PopupStateType.Close:
          openedPopups--;
          if (openedPopups == 0) {
            // permit to close Flyout
            flyout.setCloseEvent("ONMOUSEOUT");
          }
          break;
  }
}

Properties

Name Description
propertyname string. Gets the full type name of the popup which state has been changed.
propertypopup object. Gets the popup which state has been changed.
This property is null when the state is Obout.Ajax.UI.HTMLEditor.PopupStateType.LoadStart.
propertystate PopupStateType. Gets the current state of the popup.

"You really do have an outstanding support at Obout. Thank you very much for your support."

Reshma Deshmukh
Crest Premedia Solutions

Random testimonial   All testimonials