Class
RadCloudUpload

Represents the RadCloudUpload class.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadCloudUpload : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadCloudUpload

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

RadCloudUpload()

Initializes a new instance of the RadCloudUpload class.

Declaration

cs-api-definition
public RadCloudUpload()

RadCloudUpload(Element)

Initializes a new instance of the RadCloudUpload class.

Declaration

cs-api-definition
public RadCloudUpload(Element element)

Parameters

element

Element

Properties

AllFilesCount

Returns cloud upload uploaded files.

Declaration

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

Property Value

int

BodyContainer

Returns cloud upload input unordered list.

Declaration

cs-api-definition
public HtmlDiv BodyContainer { get; }

Property Value

HtmlDiv

ClientSideLocator

Client side locator.

Declaration

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

Property Value

string

Overrides HtmlControl.ClientSideLocator

ListFailed

Returns cloud upload list of the failed files

Declaration

cs-api-definition
public HtmlDiv ListFailed { get; }

Property Value

HtmlDiv

ListItemsFailed

Returns the failed list items in cloud upload .

Declaration

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

Property Value

IList<HtmlListItem>

ListItemsSucceeded

Returns the list of the secceeded items in cloud upload .

Declaration

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

Property Value

IList<HtmlListItem>

ListSucceeded

Returns cloud upload list of the succeeded files

Declaration

cs-api-definition
public HtmlDiv ListSucceeded { get; }

Property Value

HtmlDiv

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 cloud upload module.

Declaration

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

Property Value

CloudUploadModuleType

ProgressBar

Returns whether cloud upload progress is visible.

Declaration

cs-api-definition
public HtmlListItem ProgressBar { get; }

Property Value

HtmlListItem

ProgressVisible

Returns whether cloud upload progress is visible.

Declaration

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

Property Value

bool

RemoveButton

Returns upload remove button.

Declaration

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

Property Value

HtmlButton

RemoveButtons

Returns cloud upload remove button controls.

Declaration

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

Property Value

IList<HtmlButton>

SelectButton

Returns upload select button.

Declaration

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

Property Value

HtmlDiv

UploadDialogTitle

Returns the FileUpload dialog title.

Declaration

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

Property Value

string

Methods

AssignElement(Element)

Assign the DOM element to be the RadCloudUpload 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(ScrollToVisibleType)

Selects the file by specifid index.

Declaration

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

Parameters

scrollToVisibleType

ScrollToVisibleType

Specifies how element should be put into view.

FileWithIndexUploadedSuccessfully(int)

Returns whether cloud 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 cloud 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(string, ScrollToVisibleType)

Upload a file.

Declaration

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

Parameters

filePath

string

scrollToVisibleType

ScrollToVisibleType

Specifies how element should be put into view.