ClassRadUpload
Represents the RadUpload class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadUpload : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadUpload
Inherited Members
Constructors
RadUpload()
Initializes a new instance of the RadUpload class.
Declaration
public RadUpload()
RadUpload(Element)
Initializes a new instance of the RadUpload class.
Properties
AddButton
Returns upload add button.
Declaration
public HtmlInputButton AddButton { get; }
Property Value
ClearButton
Returns upload clear button.
Declaration
public HtmlInputButton ClearButton { get; }
Property Value
ClientSideLocator
Client side locator.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
DeleteButton
Returns upload delete button.
Declaration
public HtmlInputButton DeleteButton { get; }
Property Value
FileExtensions
Returns an array containing the allowed file extensions.
FileExtensionsString
Returns a string containing the allowed file extensions.
InitialFileInputCount
Returns the initial number of rows when the RadUpload control is first loaded..
InputFileCheckBox
Returns file upload checkbox.
Declaration
public HtmlInputCheckBox InputFileCheckBox { get; }
Property Value
InputFiles
Returns upload input file controls.
Declaration
public IList<HtmlInputFile> InputFiles { get; }
Property Value
LocatorExpression
Get the FindParam that defines the pattern for a RadUploadHtmlControl.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
MaxFileCount
Get or set the maximum number of rows in the RadUpload control.
RemoveButton
Returns upload remove button.
Declaration
public HtmlInputButton RemoveButton { get; }
Property Value
SelectButton
Returns upload select button.
Declaration
public HtmlInputButton SelectButton { get; }
Property Value
Methods
AssignElement(Element)
Assign the control element.
Declaration
public override void AssignElement(Element e)
Parameters
e
The underlying element object.
Overrides
ClearButtonClick()
Clicks the clear button.
Declaration
public void ClearButtonClick()
ControlAssert()
Get RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
DeleteButtonClick()
Clicks the delete button.
Declaration
public void DeleteButtonClick()
FileSelect(int)
Selects the file by specifid index.
InitializeLocator()
Initialize the RadUpload locator.
Declaration
protected virtual HtmlFindExpression InitializeLocator()
Returns
RemoveButtonClick()
Clicks the remove button.
Declaration
public void RemoveButtonClick()
SetText(int, string)
Sets the text into the specified file index.