ClassRadAsyncUpload
Represents the RadAsyncUpload class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadAsyncUpload : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadAsyncUpload
Inherited Members
Constructors
RadAsyncUpload()
Initializes a new instance of the RadAsyncUpload class.
Declaration
public RadAsyncUpload()
RadAsyncUpload(Element)
Initializes a new instance of the RadAsyncUpload class.
Properties
ClientSideLocator
Client side locator.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
FileExtensions
Returns an array containing the allowed file extensions.
FileExtensionsString
Returns a string containing the allowed file extensions.
HasProgressArea
Returns whether async upload has progress area.
HideFileInput
Returns whether async upload file input is hidden.
InitialFileInputCount
Returns the initial number of rows when the RadUpload control is first loaded..
InlineProgressEnabled
Returns whether async upload inline progress is enabled.
IsUploading
Returns whether async upload is uploading file.
ListContainer
Returns async upload input unordered list.
Declaration
public HtmlUnorderedList ListContainer { get; }
Property Value
ListItems
Returns async upload input file controls.
Declaration
public IList<HtmlListItem> ListItems { get; }
Property Value
IList<HtmlListItem>
LocatorExpression
Get the FindParam that defines the pattern for a RadUploadHtmlControl.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
ModuleName
Current async upload module.
Declaration
public AsyncUploadModuleType ModuleName { get; }
Property Value
MultipleFileSelection
Returns whether async upload multiple file selection is enabled.
ProgressAreaVisible
Returns whether async upload progress area is visible.
RemoveButton
Returns upload remove button.
Declaration
[Obsolete("Use RemoveButtons instead")]
public HtmlInputButton RemoveButton { get; }
Property Value
RemoveButtons
Returns async upload remove button controls.
Declaration
public IList<HtmlInputButton> RemoveButtons { get; }
Property Value
RemoveButtonsLightweight
Returns asyncupload lightweight remove button.
RenderMode
Render mode of asyncupload.
SelectButton
Returns upload select button.
Declaration
[Obsolete("Use SelectButtons instead")]
public HtmlInputButton SelectButton { get; }
Property Value
SelectButtonLightweight
Returns asyncupload lightweight select button.
Declaration
public HtmlSpan SelectButtonLightweight { get; }
Property Value
SelectButtons
Returns async upload select button controls.
Declaration
public IList<HtmlInputButton> SelectButtons { get; }
Property Value
UploadDialogTitle
Returns the FileUpload dialog title.
UploadedFilesCount
Returns async upload uploaded files.
Methods
AssignElement(Element)
Assign the DOM element to be the RadAsyncUpload control.
Declaration
public override void AssignElement(Element e)
Parameters
e
Overrides
ButtonClick(int)
Clicks the remove button of file with the specified index.
ControlAssert()
Returns RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
FileSelect(int, ScrollToVisibleType)
Selects the file by specifid index.
Declaration
public void FileSelect(int index, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
index
scrollToVisibleType
FileSelect(int, int, ScrollToVisibleType)
Selects the file by specifid index.
Declaration
public void FileSelect(int index, int offset, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
index
offset
scrollToVisibleType
FileWithIndexUploadedSuccessfully(int)
Returns whether async upload successfully uploaded a file with specified index.
InlineProgressShownForFile(int)
Returns whether async upload inline progress is shown for file with specified index.
NameOfTheFileWithIndex(int)
Returns the name of the uploaded file with spesific index.
Upload(int, string, ScrollToVisibleType)
Upload a file.
Declaration
public void Upload(int index, string filePath, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
index
filePath
scrollToVisibleType