Class ClientScript

Represents static methods to emit fileuploader client-side script blocks in the Page.

Inheritance
System.Object
ClientScript
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.FileUploader.Web.Util
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public class ClientScript

Methods

RegisterMultiUpload(McHtmlInputFile)

Adds ability to upload multiple files at once.

Declaration
public static void RegisterMultiUpload(McHtmlInputFile Control)
Parameters
Type Name Description
McHtmlInputFile Control

Original control.

RegisterMultiUpload(McHtmlInputFile, String)

Adds ability to upload multiple files at once.

Declaration
public static void RegisterMultiUpload(McHtmlInputFile Control, string HtmlSeparator)
Parameters
Type Name Description
McHtmlInputFile Control

The control.

System.String HtmlSeparator

The HTML separator.

RegisterMultiUpload(McHtmlInputFile, String, Int32)

Adds ability to upload multiple files at once.

Declaration
public static void RegisterMultiUpload(McHtmlInputFile Control, string HtmlSeparator, int MaxCount)
Parameters
Type Name Description
McHtmlInputFile Control

Original control.

System.String HtmlSeparator

The HTML separator.

System.Int32 MaxCount

The max count.

RegisterShowProgressWindow(Page, String)

Registers the show progress window.

Declaration
public static void RegisterShowProgressWindow(Page OwnerPage, string ProgressPagePath)
Parameters
Type Name Description
System.Web.UI.Page OwnerPage

The owner page.

System.String ProgressPagePath

The progress page path.

RegisterShowProgressWindow(Page, String, Int32, Int32)

Registers the show progress window.

Declaration
public static void RegisterShowProgressWindow(Page OwnerPage, string ProgressPagePath, int Width, int Height)
Parameters
Type Name Description
System.Web.UI.Page OwnerPage

The owner page.

System.String ProgressPagePath

The progress page path.

System.Int32 Width

The width.

System.Int32 Height

The height.

RegisterShowProgressWindow(Page, String, Int32, Int32, Int32, Int32)

Registers the show progress window.

Declaration
public static void RegisterShowProgressWindow(Page OwnerPage, string ProgressPagePath, int Top, int Left, int Width, int Height)
Parameters
Type Name Description
System.Web.UI.Page OwnerPage

The owner page.

System.String ProgressPagePath

The progress page path.

System.Int32 Top

The top.

System.Int32 Left

The left.

System.Int32 Width

The width.

System.Int32 Height

The height.

RegisterShowProgressWindow(Page, String, String)

Registers the show progress window.

Declaration
public static void RegisterShowProgressWindow(Page OwnerPage, string ProgressPagePath, string ProgressPageFeatures)
Parameters
Type Name Description
System.Web.UI.Page OwnerPage

The owner page.

System.String ProgressPagePath

The progress page path.

System.String ProgressPageFeatures

The progress page features.