Class UploadedFileList

Shows Temporary uploaded file list control.

Inheritance
System.Object
UploadedFileList
Namespace: Mediachase.FileUploader.Web.UI
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public class UploadedFileList : CompositeControl

Constructors

UploadedFileList()

Initializes a new instance of the UploadedFileList class.

Declaration
public UploadedFileList()

Properties

ClientBinderProvider

Client Data Binding Provider ClientBinderProviderType.JSON By Default

Declaration
public ClientBinderProviderType ClientBinderProvider { get; set; }
Property Value
Type Description
ClientBinderProviderType

DeleteCommandTemplate

Gets or sets the delete command template.

Declaration
public ITemplate DeleteCommandTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

The delete command template.

FileUploadControlID

Gets or sets the file upload control ID.

Declaration
public string FileUploadControlID { get; set; }
Property Value
Type Description
System.String

The file upload control ID.

MaxThumbnailDimension

Gets or sets the maximum thumbnail dimension.

Declaration
public int MaxThumbnailDimension { get; set; }
Property Value
Type Description
System.Int32

The maximum thumbnail dimension.

ScriptPath

Gets or sets the script path.

Declaration
public string ScriptPath { get; set; }
Property Value
Type Description
System.String

The script path.

ShowThumbnail

Gets or sets a value indicating whether to show image thumbnail in front of uploaded file name.

Declaration
public bool ShowThumbnail { get; set; }
Property Value
Type Description
System.Boolean

true if [show image thumbnail]; otherwise, false.

StretchSmallImages

Gets or sets a value indicating whether to stretch small images if max image dimension less than MaxThumbnailDimension.

Declaration
public bool StretchSmallImages { get; set; }
Property Value
Type Description
System.Boolean

true if [stretch small images]; otherwise, false.

Methods

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event.

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

An System.EventArgs object that contains the event data.

Render(HtmlTextWriter)

Writes the System.Web.UI.WebControls.CompositeControl content to the specified System.Web.UI.HtmlTextWriter object, for display on the client.

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

An System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

RenderContents(HtmlTextWriter)

Renders the contents of the control to the specified writer. This method is used primarily by control developers.

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.