Class FileUploadV1
- Namespace
- InSite.Common.Web.UI
- Assembly
- InSite.UI.dll
[ValidationProperty("FilePath")]
public class FileUploadV1 : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IPostBackDataHandler, IPostBackEventHandler
- Inheritance
-
FileUploadV1
- Implements
-
- Inherited Members
-
Constructors
FileUploadV1()
Properties
AllowMultiple
public bool AllowMultiple { get; set; }
Property Value
- bool
AllowedExtensions
[TypeConverter(typeof(StringArrayConverter))]
public string[] AllowedExtensions { get; set; }
Property Value
- string[]
ContainerIdentifier
public Guid ContainerIdentifier { get; set; }
Property Value
- Guid
ContainerType
public string ContainerType { get; set; }
Property Value
- string
FilePath
public string FilePath { get; }
Property Value
- string
FileSize
public long FileSize { get; }
Property Value
- long
FileUploadType
public FileUploadType FileUploadType { get; set; }
Property Value
- FileUploadType
HasFile
public bool HasFile { get; }
Property Value
- bool
InputText
public string InputText { get; set; }
Property Value
- string
LabelText
public string LabelText { get; set; }
Property Value
- string
MaxFileNameLength
public int? MaxFileNameLength { get; set; }
Property Value
- int?
MaxFileSize
public int? MaxFileSize { get; set; }
Property Value
- int?
public UploadMetadata Metadata { get; }
Property Value
- UploadMetadata
OnClientFileUploadFailed
public string OnClientFileUploadFailed { get; set; }
Property Value
- string
OnClientFileUploaded
public string OnClientFileUploaded { get; set; }
Property Value
- string
ResponseSessionIdentifier
public Guid? ResponseSessionIdentifier { get; set; }
Property Value
- Guid?
public string SelectedButtonClientID { get; }
Property Value
- string
SelectedFileNamesClientID
public string SelectedFileNamesClientID { get; }
Property Value
- string
SelectedFilesClientID
public string SelectedFilesClientID { get; }
Property Value
- string
UploadProgressClientID
public string UploadProgressClientID { get; }
Property Value
- string
UploadedFilesClientID
public string UploadedFilesClientID { get; }
Property Value
- string
Width
public Unit Width { get; set; }
Property Value
- Unit
Methods
public void ClearMetadata()
OnPreRender(EventArgs)
protected override void OnPreRender(EventArgs e)
Parameters
e EventArgs
OpenFile()
Returns
- Stream
ReadFileText(Encoding)
public string ReadFileText(Encoding encoding)
Parameters
encoding Encoding
Returns
- string
Render(HtmlTextWriter)
protected override void Render(HtmlTextWriter writer)
Parameters
writer HtmlTextWriter
Events
FileUploaded
public event EventHandler FileUploaded
Event Type
- EventHandler