ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.Popups.GalleryManager abstract class

 Inheritance Hierarchy

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

Base class for all 'Gallery manager' popups in Obout.Ajax.UI.HTMLEditor.Popups namespace.

Public properties

Name Description
propertyAdditionalCss String. Gets or sets comma separated paths of additional CSS files for this popup. (Inherited from Popup.)
propertyAvailableExtensions String overridable. Gets or sets semicolon separated file extensions available for uploading.
Example "gif;jpg;jpeg;png".
propertyAutoDimensions Bool sealed. Gets a value indicating whether the size of the popup is determining automatically. (Inherited from Popup.)
Always true.
propertyClientID String. Gets the server control identifier generated by ASP.NET. (Inherited from Control.)
propertyCssPath String. Gets or sets a style file path. (Inherited from Popup.)
By default embedded CSS file is used.
propertyDuplicateFileMessage String overridable. Gets the text for an alert window when the user tries to create a folder with duplicate name.
propertyGalleryFolders String overridable. Gets or sets semicolon separated relative URL's of gallery folders.
Example "~/App_Obout/HTMLEditor/ImageGallery".
propertyGalleryNames String overridable. Gets or sets semicolon separated gallery names associated with the GalleryFolders property.
Example "Image Gallery".
propertyID String. Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.)
propertyInvalidFileExtensionMessage String overridable. Gets the text for an alert window when the user tries to upload a file with invalid extension.
propertyInvalidFileNameMessage String overridable. Gets the text for an alert window when the user tries to create a folder with invalid name.
propertyManagedFolders String overridable. Gets or sets semicolon separated relative URL's of folders available for managing - new folders creating, uploading and deleting files.
Example "~/App_Obout/HTMLEditor/ImageGallery/users_images".
propertyRelativeUrl Bool. Gets or sets a value indicating whether to create a ralative URL for selected file (image, document etc.). If false then absolute URL will be generated.
Default true (relative URL).

Protected properties

Name Description
propertyAddFolderButton AddFolderButton overridable. Gets the "Add a new folder" button from the popup.
propertyAttachedToButton Bool sealed. Gets a value indicating whether the popup is 'attached' to a button called this popup. (Inherited from Popup.)
Always false.
propertyAutoClose Bool sealed. Gets a value indicating whether the popup is closed on click outside it. (Inherited from Popup.)
Always false.
propertyClientControlType String overridable. Gets the script type to use for the Control. (Inherited from Popup.)
propertyContent Collection<Control>. Gets collection of controls included into the popup. (Inherited from Popup.)
propertyDefaultTitle String overridable. Gets the popup title if not found in Localization. (Inherited from Popup.)
propertyDeleteButton DeleteButton overridable. Gets the "Delete selected item" button from the popup.
propertyIframe HtmlGenericControl overridable. Gets the iframe control where the gallery tree is rendered.
propertyIframePreview HtmlGenericControl overridable. Gets the iframe control where the preview information (for the highlighted item) is rendered.
propertyRefreshButton RefreshButton overridable. Gets the "Refresh" button from the popup.
propertyUploadButton UploadButton abstract. Gets the "Upload a new file" button from the popup.
Must be overridden.
propertyScriptPath String overridable. Gets the path of the script file where the associated script type is defined. (Inherited from Popup.)

Protected methods

Name Description
propertyExecAddFolderCommand Void overridable. Adds a new folder to the managed folder.
Parameters:
  • String url - URL of the new folder.
  • String name - file/folder name.
propertyExecDeleteCommand Void overridable. Deletes file/folder from the managed folder.
Parameters:
  • String url - URL of the file/folder.
  • String name - name of the new folder.
propertySaveUploadedFile String overridable. Saves an uploaded file to the managed folder.
Parameters:
  • String folder - folder URL where to save.
  • String name - name of the file.
  • String title - files' description.
  • HttpPostedFile file - uploaded file.
Returns the name of the saved file.

"Your TreeView component with the use of the Tree DB component are a real winner. I am using this with my CMS applications that allow the user to order the documents with a simple drag and drop. It's brilliant and my clients now have a more intuitive application."

Ben de Groot

Random testimonial   All testimonials