Class
RadUpload

Represents the RadUpload class.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadUpload : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadUpload

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

RadUpload()

Initializes a new instance of the RadUpload class.

Declaration

cs-api-definition
public RadUpload()

RadUpload(Element)

Initializes a new instance of the RadUpload class.

Declaration

cs-api-definition
public RadUpload(Element element)

Parameters

element

Element

Properties

AddButton

Returns upload add button.

Declaration

cs-api-definition
public HtmlInputButton AddButton { get; }

Property Value

HtmlInputButton

ClearButton

Returns upload clear button.

Declaration

cs-api-definition
public HtmlInputButton ClearButton { get; }

Property Value

HtmlInputButton

ClientSideLocator

Client side locator.

Declaration

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

Property Value

string

Overrides HtmlControl.ClientSideLocator

DeleteButton

Returns upload delete button.

Declaration

cs-api-definition
public HtmlInputButton DeleteButton { get; }

Property Value

HtmlInputButton

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

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

InputFileCheckBox

Returns file upload checkbox.

Declaration

cs-api-definition
public HtmlInputCheckBox InputFileCheckBox { get; }

Property Value

HtmlInputCheckBox

InputFiles

Returns upload input file controls.

Declaration

cs-api-definition
public IList<HtmlInputFile> InputFiles { get; }

Property Value

IList<HtmlInputFile>

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

MaxFileCount

Get or set the maximum number of rows in the RadUpload control.

Declaration

cs-api-definition
public int MaxFileCount { get; set; }

Property Value

int

RemoveButton

Returns upload remove button.

Declaration

cs-api-definition
public HtmlInputButton RemoveButton { get; }

Property Value

HtmlInputButton

SelectButton

Returns upload select button.

Declaration

cs-api-definition
public HtmlInputButton SelectButton { get; }

Property Value

HtmlInputButton

Methods

AddButtonClick()

Clicks the add button.

Declaration

cs-api-definition
public void AddButtonClick()

AssignElement(Element)

Assign the control element.

Declaration

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

Parameters

e

Element

The underlying element object.

Overrides HtmlContainerControl.AssignElement(Element)

CheckBoxCheck()

Checks the checkbox.

Declaration

cs-api-definition
public void CheckBoxCheck()

ClearButtonClick()

Clicks the clear button.

Declaration

cs-api-definition
public void ClearButtonClick()

ControlAssert()

Get RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

DeleteButtonClick()

Clicks the delete button.

Declaration

cs-api-definition
public void DeleteButtonClick()

FileSelect(int)

Selects the file by specifid index.

Declaration

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

Parameters

index

int

InitializeLocator()

Initialize the RadUpload locator.

Declaration

cs-api-definition
protected virtual HtmlFindExpression InitializeLocator()

Returns

HtmlFindExpression

RemoveButtonClick()

Clicks the remove button.

Declaration

cs-api-definition
public void RemoveButtonClick()

SetText(int, string)

Sets the text into the specified file index.

Declaration

cs-api-definition
public void SetText(int fileIndex, string text)

Parameters

fileIndex

int

text

string