BinaryUpload Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Binary upload (supports anonymous uploads). This component must be placed in a form element and the caller must have read, create, save and publish permission in the destination category.
Inheritance Hierarchy

SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      System.Web.UI.WebControlsCompositeControl
        ContentStudio.Site.ControlsBinaryUpload

Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public class BinaryUpload : CompositeControl

The BinaryUpload type exposes the following members.

Constructors

  NameDescription
Public methodBinaryUpload
Initializes a new instance of the BinaryUpload class.
Top
Properties

  NameDescription
Public propertyAccessKey (Inherited from WebControl.)
Protected propertyAdapter (Inherited from Control.)
Public propertyAllowFileOverwrite
Allow users to overwrite existing files. This is a way to protect any file already uploaded into the category from beeing overwritten by this component.
Public propertyAppRelativeTemplateSourceDirectory (Inherited from Control.)
Public propertyAttributes (Inherited from WebControl.)
Public propertyBackColor (Inherited from WebControl.)
Public propertyBindingContainer (Inherited from Control.)
Public propertyBorderColor (Inherited from WebControl.)
Public propertyBorderStyle (Inherited from WebControl.)
Public propertyBorderWidth (Inherited from WebControl.)
Public propertyCategoryId
A Content Studio category to upload file in. The caller must have read, create, save and publish permission in the category selected.
Protected propertyChildControlsCreated (Inherited from Control.)
Public propertyClientID (Inherited from Control.)
Protected propertyClientIDSeparator (Inherited from Control.)
Public propertyConfirmResetMessage
Message displayed if the user tries to reset the file.
Public propertyContentType
Gets the type of the content.
Protected propertyContext (Inherited from Control.)
Public propertyControls (Inherited from CompositeControl.)
Public propertyControlStyle (Inherited from WebControl.)
Public propertyControlStyleCreated (Inherited from WebControl.)
Public propertyCssClass
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
(Overrides WebControlCssClass.)
Public propertyDescriptionText
A text that should act as label for the textbox where the caller can enter a descriptive text for the file to upload.
Protected propertyDesignMode (Inherited from Control.)
Public propertyDocumentId
Gets the document id.
Public propertyEmptyFileErrorMessage
Message displayed if the user has not specified the file.
Public propertyEnableAutoUpload
Enables the control to auto upload the file when the user browse for the file.
Public propertyEnabled (Inherited from WebControl.)
Public propertyEnableDescriptionField
A value that indicates whether the description field should be used or not. This field enables the caller to enter a description for the uploaded file.
Public propertyEnableTheming (Inherited from WebControl.)
Public propertyEnableViewState (Inherited from Control.)
Protected propertyEvents (Inherited from Control.)
Public propertyFileOverwriteText
This server already contains a file named '{0}'. Would you like to replace the existing file?"), Category("Behavior"), Description("A message to display if a user is about to overwrite an already uploaded file. If you add the {0} (percent) characted into the message this character will will be replaced with the actual filen name.
Public propertyFileSize
Gets the size of the file.
Public propertyFont (Inherited from WebControl.)
Public propertyForeColor (Inherited from WebControl.)
Public propertyHasAttributes (Inherited from WebControl.)
Protected propertyHasChildViewState (Inherited from Control.)
Public propertyHeight (Inherited from WebControl.)
Public propertyID (Inherited from Control.)
Protected propertyIdSeparator (Inherited from Control.)
Public propertyImageProcessingSettings
Image processing is executed every time an image is uploaded. The created files are named based on the name of the originally uploaded file and the FileNameFormat setting.
Protected propertyIsChildControlStateCleared (Inherited from Control.)
Protected propertyIsEnabled (Inherited from WebControl.)
Protected propertyIsTrackingViewState (Inherited from Control.)
Protected propertyIsViewStateEnabled (Inherited from Control.)
Protected propertyLoadViewStateByID (Inherited from Control.)
Public propertyMaxFileSize
Indicates a value the limits the maximum size of the files (in bytes) that can be uploaded. A value of zero indicates no limit.
Public propertyNamingContainer (Inherited from Control.)
Public propertyPage (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyRequired
The object must have a value. It cannot be left blank or empty.
Public propertyResetButtonText
A text to that should be the caption of the reset button.
Public propertySite (Inherited from Control.)
Public propertySkinID (Inherited from WebControl.)
Public propertyStyle (Inherited from WebControl.)
Public propertyTabIndex (Inherited from WebControl.)
Protected propertyTagKey
Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers.
(Overrides WebControlTagKey.)
Protected propertyTagName (Inherited from WebControl.)
Public propertyTemplateControl (Inherited from Control.)
Public propertyTemplateSourceDirectory (Inherited from Control.)
Public propertyTitle
Gets the title.
Public propertyToolTip (Inherited from WebControl.)
Public propertyUniqueID (Inherited from Control.)
Public propertyUploadButtonText
The text displayed in the uploadbutton.
Public propertyUploadFinishedText
Text to be displayed when the file has been successfully uploaded to the server.
Public propertyUploadingText
The text displayed while uploading the file.
Public propertyUseOriginalFileName
Indicates whether to store the uploaded file in the server using the original file name or not. If not set Content Studio will provide a file name and the file cannot be updated later using this component. The format of this file name ensures that no one can detect it, ex. FF74BD2B-2FBE-40af-A1FD-AE07587AE883.jpg.
Public propertyWidth (Inherited from WebControl.)
Protected propertyViewState (Inherited from Control.)
Protected propertyViewStateIgnoresCase (Inherited from Control.)
Public propertyVisible (Inherited from Control.)
Top
Methods

  NameDescription
Protected methodAddAttributesToRender (Inherited from WebControl.)
Protected methodAddedControl (Inherited from Control.)
Protected methodAddParsedSubObject (Inherited from Control.)
Public methodApplyStyle (Inherited from WebControl.)
Public methodApplyStyleSheetSkin (Inherited from Control.)
Protected methodBuildProfileTree (Inherited from Control.)
Protected methodClearChildControlState (Inherited from Control.)
Protected methodClearChildState (Inherited from Control.)
Protected methodClearChildViewState (Inherited from Control.)
Public methodCopyBaseAttributes (Inherited from WebControl.)
Protected methodCreateChildControls
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(Overrides ControlCreateChildControls.)
Protected methodCreateControlCollection (Inherited from Control.)
Protected methodCreateControlStyle (Inherited from WebControl.)
Public methodDataBind (Inherited from CompositeControl.)
Protected methodDataBind(Boolean) (Inherited from Control.)
Protected methodDataBindChildren (Inherited from Control.)
Public methodDispose (Inherited from Control.)
Protected methodEnsureChildControls (Inherited from Control.)
Protected methodEnsureID (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindControl(String) (Inherited from Control.)
Protected methodFindControl(String, Int32) (Inherited from Control.)
Public methodFocus (Inherited from Control.)
Protected methodGetDesignModeState (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHasControls (Inherited from Control.)
Protected methodHasEvents (Inherited from Control.)
Protected methodIsLiteralContent (Inherited from Control.)
Protected methodLoadControlState (Inherited from Control.)
Protected methodLoadViewState (Inherited from WebControl.)
Protected methodMapPathSecure (Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMergeStyle (Inherited from WebControl.)
Protected methodOnBubbleEvent (Inherited from Control.)
Protected methodOnDataBinding (Inherited from Control.)
Protected methodOnInit
Raises the Init event.
(Overrides ControlOnInit(EventArgs).)
Protected methodOnLoad (Inherited from Control.)
Protected methodOnPreRender
Raises the PreRender event.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodOnUnload (Inherited from Control.)
Protected methodOpenFile (Inherited from Control.)
Protected methodRaiseBubbleEvent (Inherited from Control.)
Protected methodRecreateChildControls (Inherited from CompositeControl.)
Protected methodRemovedControl (Inherited from Control.)
Protected methodRender
Writes the CompositeControl content to the specified HtmlTextWriter object, for display on the client.
(Overrides CompositeControlRender(HtmlTextWriter).)
Public methodRenderBeginTag (Inherited from WebControl.)
Protected methodRenderChildren (Inherited from Control.)
Protected methodRenderContents (Inherited from WebControl.)
Public methodRenderControl(HtmlTextWriter) (Inherited from Control.)
Protected methodRenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public methodRenderEndTag (Inherited from WebControl.)
Protected methodResolveAdapter (Inherited from Control.)
Public methodResolveClientUrl (Inherited from Control.)
Public methodResolveUrl (Inherited from Control.)
Protected methodSaveControlState (Inherited from Control.)
Protected methodSaveViewState (Inherited from WebControl.)
Protected methodSetDesignModeState (Inherited from Control.)
Public methodSetRenderMethodDelegate (Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTrackViewState
Causes the control to track changes to its view state so they can be stored in the object's ViewState property.
(Overrides WebControlTrackViewState.)
Top
Events

  NameDescription
Public eventDataBinding (Inherited from Control.)
Public eventDisposed (Inherited from Control.)
Public eventInit (Inherited from Control.)
Public eventLoad (Inherited from Control.)
Public eventPreRender (Inherited from Control.)
Public eventUnload (Inherited from Control.)
Top
See Also

Reference