ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.Popups.UploadFlashPopup class

 Inheritance Hierarchy

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

The popup of this type can be opened from the popup of FlashBrowser type for uploading a new flash to the managed folder.

Public properties

Name Description
propertyAdditionalCss String. Gets or sets comma separated paths of additional CSS files for this popup. (Inherited from Popup.)
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.
propertyFileUpload FileUpload. Gets inner FileUpload control, can be used when UseOboutFileUpload property is set to true. (Inherited from UploadFilePopup.)
propertyID String. Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.)
propertyOnClientDuplicate String. Gets or sets the name of client-side function(handler) executed when trying to upload a file with a name that already exists in the current folder.
This handler is added to the client-side event duplicate, see Client-Side. (Inherited from UploadFilePopup.)

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" %>
...
<script type="text/JavaScript">
   function
onDuplicate(sender, args) {
      args.set_cancel(!confirm("To replace the existing '"
                                           
+ args.get_fileName() + "' flash?"));
   }
</script>
...
<obout:PopupHolder runat="server" ID="popupHolder"
                              
DefaultAddPolicy="Demand">
    <
Demand>
        <
obout:UploadFlashPopup runat="server"
                                              
OnClientDuplicate="onDuplicate" />
    </
Demand>
</obout:PopupHolder>
propertyShowDescriptionField Bool. Gets or sets a value indicating whether to render 'Description' field in the popup. (Inherited from UploadFilePopup.)
Default true.
propertyUploadErrorMessage String. Gets the text for an alert window shown when upload error occurs. (Inherited from UploadFilePopup.)
propertyUseOboutFileUpload Bool. Gets a value indicating whether to use obout FileUpload control. (Inherited from UploadFilePopup.)
Default true.

Protected properties

Name Description
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.)
Default "Upload a flash".
propertyDescription HtmlGenericControl overridable. Gets the input control associated with the "Description" popup's property. (Inherited from UploadFilePopup.)
propertyLocation HtmlGenericControl overridable. Gets the input control associated with the "Local Flash" popup's property. (Inherited from UploadFilePopup.)
propertyScriptPath String overridable. Gets the path of the script file where the associated script type is defined. (Inherited from Popup.)

"As always, I really appreciate your fast response to questions - this is just plain Awesome!"

Olivier Kovacs
TELUS

Random testimonial   All testimonials