Class
RadAsyncUpload

Represents the RadAsyncUpload class.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadAsyncUpload : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadAsyncUpload

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadAsyncUpload()

Initializes a new instance of the RadAsyncUpload class.

Declaration

cs-api-definition
public RadAsyncUpload()

RadAsyncUpload(Element)

Initializes a new instance of the RadAsyncUpload class.

Declaration

cs-api-definition
public RadAsyncUpload(Element element)

Parameters

element

Element

Properties

ClientSideLocator

Client side locator.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

FileExtensions

Returns an array containing the allowed file extensions.

Declaration

cs-api-definition
public IList<string> FileExtensions { get; }

Property Value

IList<string>

FileExtensionsString

Returns a string containing the allowed file extensions.

Declaration

cs-api-definition
public string FileExtensionsString { get; }

Property Value

string

HasProgressArea

Returns whether async upload has progress area.

Declaration

cs-api-definition
public bool HasProgressArea { get; }

Property Value

bool

HideFileInput

Returns whether async upload file input is hidden.

Declaration

cs-api-definition
public bool HideFileInput { get; }

Property Value

bool

InitialFileInputCount

Returns the initial number of rows when the RadUpload control is first loaded..

Declaration

cs-api-definition
public int InitialFileInputCount { get; }

Property Value

int

InlineProgressEnabled

Returns whether async upload inline progress is enabled.

Declaration

cs-api-definition
public bool InlineProgressEnabled { get; }

Property Value

bool

IsUploading

Returns whether async upload is uploading file.

Declaration

cs-api-definition
public bool IsUploading { get; }

Property Value

bool

ListContainer

Returns async upload input unordered list.

Declaration

cs-api-definition
public HtmlUnorderedList ListContainer { get; }

Property Value

HtmlUnorderedList

ListItems

Returns async upload input file controls.

Declaration

cs-api-definition
public IList<HtmlListItem> ListItems { get; }

Property Value

IList<HtmlListItem>

LocatorExpression

Get the FindParam that defines the pattern for a RadUploadHtmlControl.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

ModuleName

Current async upload module.

Declaration

cs-api-definition
public AsyncUploadModuleType ModuleName { get; }

Property Value

AsyncUploadModuleType

MultipleFileSelection

Returns whether async upload multiple file selection is enabled.

Declaration

cs-api-definition
public bool MultipleFileSelection { get; }

Property Value

bool

ProgressAreaVisible

Returns whether async upload progress area is visible.

Declaration

cs-api-definition
public bool ProgressAreaVisible { get; }

Property Value

bool

RemoveButton

Returns upload remove button.

Declaration

cs-api-definition
[Obsolete("Use RemoveButtons instead")]
public HtmlInputButton RemoveButton { get; }

Property Value

HtmlInputButton

RemoveButtons

Returns async upload remove button controls.

Declaration

cs-api-definition
public IList<HtmlInputButton> RemoveButtons { get; }

Property Value

IList<HtmlInputButton>

RemoveButtonsLightweight

Returns asyncupload lightweight remove button.

Declaration

cs-api-definition
public IList<HtmlSpan> RemoveButtonsLightweight { get; }

Property Value

IList<HtmlSpan>

RenderMode

Render mode of asyncupload.

Declaration

cs-api-definition
public RenderMode RenderMode { get; }

Property Value

RenderMode

SelectButton

Returns upload select button.

Declaration

cs-api-definition
[Obsolete("Use SelectButtons instead")]
public HtmlInputButton SelectButton { get; }

Property Value

HtmlInputButton

SelectButtonLightweight

Returns asyncupload lightweight select button.

Declaration

cs-api-definition
public HtmlSpan SelectButtonLightweight { get; }

Property Value

HtmlSpan

SelectButtons

Returns async upload select button controls.

Declaration

cs-api-definition
public IList<HtmlInputButton> SelectButtons { get; }

Property Value

IList<HtmlInputButton>

UploadDialogTitle

Returns the FileUpload dialog title.

Declaration

cs-api-definition
public string UploadDialogTitle { get; }

Property Value

string

UploadedFilesCount

Returns async upload uploaded files.

Declaration

cs-api-definition
public int UploadedFilesCount { get; }

Property Value

int

Methods

AssignElement(Element)

Assign the DOM element to be the RadAsyncUpload control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

Overrides HtmlContainerControl.AssignElement(Element)

ButtonClick(int)

Clicks the remove button of file with the specified index.

Declaration

cs-api-definition
public void ButtonClick(int index)

Parameters

index

int

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

FileSelect(int, ScrollToVisibleType)

Selects the file by specifid index.

Declaration

cs-api-definition
public void FileSelect(int index, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)

Parameters

index

int

scrollToVisibleType

ScrollToVisibleType

FileSelect(int, int, ScrollToVisibleType)

Selects the file by specifid index.

Declaration

cs-api-definition
public void FileSelect(int index, int offset, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)

Parameters

index

int

offset

int

scrollToVisibleType

ScrollToVisibleType

FileWithIndexUploadedSuccessfully(int)

Returns whether async upload successfully uploaded a file with specified index.

Declaration

cs-api-definition
public bool FileWithIndexUploadedSuccessfully(int index)

Parameters

index

int

Returns

bool

InlineProgressShownForFile(int)

Returns whether async upload inline progress is shown for file with specified index.

Declaration

cs-api-definition
public bool InlineProgressShownForFile(int index)

Parameters

index

int

Returns

bool

NameOfTheFileWithIndex(int)

Returns the name of the uploaded file with spesific index.

Declaration

cs-api-definition
public string NameOfTheFileWithIndex(int index)

Parameters

index

int

Returns

string

Upload(int, string, ScrollToVisibleType)

Upload a file.

Declaration

cs-api-definition
public void Upload(int index, string filePath, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)

Parameters

index

int

filePath

string

scrollToVisibleType

ScrollToVisibleType