ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.Popups.FlashVideoBrowser class

 Inheritance Hierarchy

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

The popup of this class is opened on "Browse" button click in FlashVideoProperties popup.

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. (Inherited from GalleryManager.)
Default "flv".
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.)
propertyContentHeight Int. Gets or sets the height of the popup's content in pixels. (Inherited from GalleryManager.)
Default 400.
propertyCssPath String. Gets or sets a style file path. (Inherited from Popup.)
By default embedded CSS file is used.
propertyDescriptionExtension String. Gets or sets the extension of description files. (Inherited from GalleryManager.)
The full name of the description file is formed with appending this extension to the full name of the target file.
For example, the "MyFile.ext" file can have a description file named "MyFile.ext.description".
If the description file exists for the selected file, then its text content is shown in the preview panel of the Gallery Manager.
If this property is set to empty, then no description files will be used at all.

Default "description".
propertyDuplicateFileMessage String overridable. Gets the text for an alert window when the user tries to create a folder with duplicate name. (Inherited from GalleryManager.)
propertyFlvAdditionalParameters String overridable. Gets the additional parameters for the Flash Video Player.
Default "&sidplay=1&sidrepeat=0&sidbufferstop=1&sidhidecontrol=1&sidstoptime=2".
propertyFlvPlayerUrl String overridable. Gets the Url of Flash Video Player in use.
Default "~/App_Obout/HTMLEditor/Scripts/flvplayer.swf".
propertyFlvUrlParameter String overridable. Gets the name of Flv Url parameter used in Flash Video Player.
Default "sidurl".
propertyGalleryFolders String overridable. Gets or sets semicolon separated relative URL's of gallery folders. (Inherited from GalleryManager.)
Default "~/App_Obout/HTMLEditor/FlashVideoGallery".
propertyGalleryNames String overridable. Gets or sets semicolon separated gallery names associated with the GalleryFolders property. (Inherited from GalleryManager.)
Default "FlashVideo Gallery".
propertyHideAddFolderButton Bool. Gets or sets a value indicating whether to hide the 'Add folder' button. (Inherited from GalleryManager.)
Default false.
propertyHideDeleteButton Bool. Gets or sets a value indicating whether to hide the 'Delete' button. (Inherited from GalleryManager.)
Default false.
propertyHideRefreshButton Bool. Gets or sets a value indicating whether to hide the 'Refresh' button. (Inherited from GalleryManager.)
Default false.
propertyHideUploadButton Bool. Gets or sets a value indicating whether to hide the 'Upload' button. (Inherited from GalleryManager.)
Default false.
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. (Inherited from GalleryManager.)
propertyInvalidFileNameMessage String overridable. Gets the text for an alert window when the user tries to create a folder with invalid name. (Inherited from GalleryManager.)
propertyManagedFolders String overridable. Gets or sets semicolon separated relative URL's of folders available for managing - new folders creating, uploading and deleting files. (Inherited from GalleryManager.)
Default "~/App_Obout/HTMLEditor/FlashVideoGallery/users_flashvideos".
propertyOboutTree Obout.Ajax.UI.TreeView.Tree. Gets the inner obout ASP.NET Tree control, null if UseOboutTree is set to false. (Inherited from GalleryManager.)
About keyboard navigation in the obout Tree control see this page.

This class instance has the following properties set by default:

CssClass = "vista"
EnableKeyBoardSupport = true
EnableDragAndDrop = false (can not be changed)
EnableMultiNodeSelection = false (can not be changed)
EnableViewState = false (can not be changed)
EnableTheming = false (can not be changed)
LeafNodeStyle.NodeCSS = "internalLeafNodeCSS" (embedded CSS class)
OnNodeSelect = "OboutTree_SelectNode" (can not be changed)

Example:

<obout:PopupHolder runat="server" ID="popupHolder"
  <Demand
     <obout:FlashVideoBrowser runat="server" UseOboutTree="true"
                                      
OboutTree-CssClass="default" />
  </
Demand>
</
obout:PopupHolder>
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. (Inherited from GalleryManager.)
Default true (relative URL).
propertyShowPreviewPanel Bool. Gets or sets a value indicating whether to show the preview panel in the popup. (Inherited from GalleryManager.)
Default true.
propertyTreeFeatures TreeFeatures. Gets an instance of the class with additional properties for the Tree control used in the Gallery Manger. (Inherited from GalleryManager.)

Example:

<obout:PopupHolder runat="server" ID="popupHolder"
  <Demand
    <obout:FlashVideoBrowser runat="server">  
      <TreeFeatures FolderImageUrl="~/treeview/icons/folder_old.gif"
        <LeafImages
          <obout:LeafImage Extensions="*" Url="~/treeview/img/video.png" /> 
        </LeafImages
      </TreeFeatures
    </obout:FlashVideoBrowser
  </Demand>
</
obout:PopupHolder>
propertyTreeView System.Web.UI.WebControls.TreeView. Gets the inner standard ASP.NET Tree control, null if UseOboutTree is set to true. (Inherited from GalleryManager.)

This class instance has the following properties set by default:

LeafNodeStyle.ForeColor = "Blue"
NodeStyle.ForeColor = "Black"
NodeStyle.Font.Size = "11px"
NodeStyle.Font.Name = "verdana"
NodeStyle.NodeSpacing = "0px"
SelectedNodeStyle.BackColor = "Blue"
SelectedNodeStyle.ForeColor = "Yellow"

Example:

<obout:PopupHolder runat="server" ID="popupHolder"
  <Demand
     <obout:FlashVideoBrowser runat="server" TreeView-Font-Bold="true"/>
  </
Demand>
</
obout:PopupHolder>
propertyUseOboutTree Bool. Gets or set a value indicating whether to use the obout ASP.NET Tree control in the Gallery Manager.
If false then the standard ASP.NET TreeView is used. (Inherited from GalleryManager.)
Default false.

Example:

<obout:PopupHolder runat="server" ID="popupHolder"
  <Demand
     <obout:FlashVideoBrowser runat="server" UseOboutTree="true" />
  </
Demand>
</
obout:PopupHolder>
 

Protected properties

Name Description
propertyAddFolderButton AddFolderButton overridable. Gets the "Add a new folder" button from the popup. (Inherited from GalleryManager.)
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. (Inherited from GalleryManager.)
propertyIframe HtmlGenericControl overridable. Gets the iframe control where the gallery tree is rendered. (Inherited from GalleryManager.)
propertyIframePreview HtmlGenericControl overridable. Gets the iframe control where the preview information (for the highlighted item) is rendered. (Inherited from GalleryManager.)
propertyRefreshButton RefreshButton overridable. Gets the "Refresh" button from the popup. (Inherited from GalleryManager.)
propertyUploadButton UploadButton overridable. Gets the "Upload a new flash video" button from the popup. (Inherited from GalleryManager.)
Default UploadButton control with the RelatedPopup property set to UploadFlashVideoPopup .
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. (Inherited from GalleryManager.)
Parameters:
  • String url - URL of the new folder.
  • String name - file/folder name.
propertyExecDeleteCommand Void overridable. Deletes file/folder from the managed folder. (Inherited from GalleryManager.)
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. (Inherited from GalleryManager.)
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.

"First off let me say that your grid control is very impressive."

Berry

Random testimonial   All testimonials