ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.Popups.TreeFeatures class

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

This class describes additional properties for the Tree control used in the Gallery Managers.
See the TreeFeatures property of Gallery Manager.

Properties

Name Description
propertyFolderImageUrl String. Gets or sets Image URL for the folders (not root).
Default String.Empty .
propertyLeafImages Collection<LeafImage>. Gets collection of descriptors for leaf nodes.
Default empty collection.
propertyRootImageUrl String. Gets or sets Image URL for the root folders.
Default String.Empty .

Obout.Ajax.UI.HTMLEditor.Popups.LeafImage class

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

This class describes the Image URL of the leaf node for a file by its extension.

Properties

Name Description
propertyExtensions String. Gets or sets files extensions separated by semicolon. These extensions are used for files filtering.
Value "*" means 'FOR ALL FILES WITH ANY EXTENSION NOT FILTERED YET'.
Default String.Empty (for files without extension).
propertyUrl String. Gets or sets Image URL.
Default String.Empty .
Example:

<%@ Register Assembly="Obout.Ajax.UI" TagPrefix="obout" Namespace="Obout.Ajax.UI.HTMLEditor" %>
<%
@ Register Assembly="Obout.Ajax.UI" TagPrefix="obout" Namespace="Obout.Ajax.UI.HTMLEditor.Popups" %>
...
<obout:PopupHolder runat="server" ID="popupHolder"
  <Demand 
    <obout:UrlBrowser runat="server" UseOboutTree="true" AvailableExtensions="doc;docx;pdf;html;txt">  
      <TreeFeatures FolderImageUrl="~/treeview/icons/folder_old.gif"
        <LeafImages
          <obout:LeafImage Extensions="html" Url="~/treeview/icons/ie_link.gif" /> 
          <obout:LeafImage Extensions="doc;docx" Url="~/treeview/icons/doc.gif" /> 
          <obout:LeafImage Extensions="txt" Url="~/treeview/img/vista_note.png" />  
          <obout:LeafImage Extensions="*" Url="~/treeview/icons/square_yellowS.gif" />  
        </LeafImages
      </TreeFeatures
    </obout:UrlBrowser
  </Demand>
</
obout:PopupHolder>

"These tools are Great!"

Scott Cromwell
Colorado Department of Public Safety

Random testimonial   All testimonials