AjaxUploader
Search Results for

    Show / Hide Table of Contents

    Class UploadPersistedFile

    Compatibility control that keeps track of a single persisted uploaded file.

    Inheritance
    object
    Control
    WebControl
    AjaxFileUpload
    UploaderBase
    UploadFileBase
    UploadPersistedFile
    Implements
    IComponent
    IDisposable
    IParserAccessor
    IUrlResolutionService
    IDataBindingsAccessor
    IControlBuilderAccessor
    IControlDesignerAccessor
    IExpressionsAccessor
    IAttributeAccessor
    IPostBackDataHandler
    IAjaxUploader
    Inherited Members
    UploadFileBase.DirtyText
    UploadFileBase.ItemLabelStyle
    UploadFileBase.ItemTextTemplate
    UploaderBase.ValidateOption
    UploaderBase.AutoUseSystemTempFolder
    UploaderBase.ButtonOnClickScript
    UploaderBase.CancelAllMsg
    UploaderBase.CancelButtonID
    UploaderBase.CancelUploadMsg
    UploaderBase.DialogAccept
    UploaderBase.DialogFilter
    UploaderBase.DropZoneID
    UploaderBase.FileTooLargeMsg
    UploaderBase.FileTypeNotSupportMsg
    UploaderBase.FlashLoadMode
    UploaderBase.FlashUploadPage
    UploaderBase.FlashWarningImage
    UploaderBase.InputboxCSSText
    UploaderBase.InsertButtonID
    UploaderBase.InsertText
    UploaderBase.ManualStartUpload
    UploaderBase.MaxFilesLimit
    UploaderBase.MaxFilesLimitMsg
    UploaderBase.MultipleFilesUpload
    UploaderBase.NumFilesShowCancelAll
    UploaderBase.NumFilesShowQueueUI
    UploaderBase.ProgressBarBackgroundImage
    UploaderBase.ProgressBarBorderStyle
    UploaderBase.ProgressBarColor
    UploaderBase.ProgressBarHeight
    UploaderBase.ProgressBarStyle
    UploaderBase.ProgressCtrlID
    UploaderBase.ProgressInfoStyle
    UploaderBase.ProgressPanelWidth
    UploaderBase.ProgressPicture
    UploaderBase.ProgressTextID
    UploaderBase.ProgressTextTemplate
    UploaderBase.QueuePanelID
    UploaderBase.ShowFrameBrowseButton
    UploaderBase.ShowProgressBar
    UploaderBase.ShowProgressInfo
    UploaderBase.ShowQueueTable
    UploaderBase.TempDirectory
    UploaderBase.UploadAddonButtonImage
    UploaderBase.UploadAddonButtonMode
    UploaderBase.UploadAddonButtonShowText
    UploaderBase.UploadAddonWarningImage
    UploaderBase.UploadCursor
    UploaderBase.UploaderDebug
    UploaderBase.UploadingMsg
    UploaderBase.UploadProcessingMsg
    UploaderBase.UploadType
    UploaderBase.UploadTypePriority
    UploaderBase.WindowsDialogLimitMsg
    UploaderBase.FileValidating
    UploaderBase.FileUploaded
    UploaderBase.UploadCompleted
    UploaderBase.OnPreRender(EventArgs)
    UploaderBase.CheckPostBackData()
    UploaderBase.GetAdvancedOption(UploaderAdvancedOption)
    UploaderBase.GetBrowserType()
    UploaderBase.GetBrowserVersion()
    UploaderBase.GetUploadedFile(Guid)
    UploaderBase.GetUploaderProvider()
    UploaderBase.GetTempDirectory()
    UploaderBase.Impersonate()
    UploaderBase.SetAdvancedOption(UploaderAdvancedOption, string)
    UploaderBase.SetValidationServerData(string)
    UploaderBase.Upload(int, string, Stream)
    UploaderBase.Upload(int, string, string)
    UploaderBase.RaiseLegacyFileUploaded(Guid, string, int)
    UploaderBase.RaiseLegacyUploadCompleted(IEnumerable<Guid>)
    AjaxFileUpload.MaxSize
    AjaxFileUpload.MinSize
    AjaxFileUpload.Extensions
    AjaxFileUpload.AllowedMimeTypes
    AjaxFileUpload.MaxFiles
    AjaxFileUpload.Chunked
    AjaxFileUpload.AutoUpload
    AjaxFileUpload.Multiple
    AjaxFileUpload.ButtonText
    AjaxFileUpload.DropZone
    AjaxFileUpload.ShowProgress
    AjaxFileUpload.ShowQueue
    AjaxFileUpload.UploadUrl
    AjaxFileUpload.ChunkSize
    AjaxFileUpload.Paste
    AjaxFileUpload.ShowThumbnails
    AjaxFileUpload.FullPageDrop
    AjaxFileUpload.FolderDrop
    AjaxFileUpload.Concurrent
    AjaxFileUpload.MaxCount
    AjaxFileUpload.DetectDuplicates
    AjaxFileUpload.ValidateMimeByMagic
    AjaxFileUpload.DuplicateHashAlgorithm
    AjaxFileUpload.Crop
    AjaxFileUpload.CropAspectRatio
    AjaxFileUpload.ResizeMaxWidth
    AjaxFileUpload.ResizeMaxHeight
    AjaxFileUpload.ResizeQuality
    AjaxFileUpload.ResizeFormat
    AjaxFileUpload.ImageResize
    AjaxFileUpload.AutoOrient
    AjaxFileUpload.Gallery
    AjaxFileUpload.Inline
    AjaxFileUpload.DropOverlay
    AjaxFileUpload.DropOverlayText
    AjaxFileUpload.Sortable
    AjaxFileUpload.WithCredentials
    AjaxFileUpload.MinWidth
    AjaxFileUpload.MinHeight
    AjaxFileUpload.MaxWidth
    AjaxFileUpload.MaxHeight
    AjaxFileUpload.OnClientSelect
    AjaxFileUpload.OnClientProgress
    AjaxFileUpload.OnClientComplete
    AjaxFileUpload.OnClientError
    AjaxFileUpload.OnClientTaskComplete
    AjaxFileUpload.OnClientTaskError
    AjaxFileUpload.MaxRetries
    AjaxFileUpload.RetryDelay
    AjaxFileUpload.EnableResume
    AjaxFileUpload.EnableAntiforgery
    AjaxFileUpload.EnableImageDimensions
    AjaxFileUpload.EnableLightbox
    AjaxFileUpload.AllowMultiple
    AjaxFileUpload.AllowedExtensions
    AjaxFileUpload.MaxFileSize
    AjaxFileUpload.MinFileSize
    AjaxFileUpload.EnableChunkedUpload
    AjaxFileUpload.EnableDropZone
    AjaxFileUpload.EnablePaste
    AjaxFileUpload.EnableDuplicateCheck
    AjaxFileUpload.EnableExifOrient
    AjaxFileUpload.EnableImageCrop
    AjaxFileUpload.EnableImageResize
    AjaxFileUpload.EnableImagePreview
    AjaxFileUpload.EnableMimeCheck
    AjaxFileUpload.ConcurrentUploads
    AjaxFileUpload.ParallelChunks
    AjaxFileUpload.MaxFileCount
    AjaxFileUpload.ImageResizeWidth
    AjaxFileUpload.ImageResizeHeight
    AjaxFileUpload.MinImageWidth
    AjaxFileUpload.MinImageHeight
    AjaxFileUpload.MaxImageWidth
    AjaxFileUpload.MaxImageHeight
    AjaxFileUpload.OnClientFileSelected
    AjaxFileUpload.OnClientUploadComplete
    AjaxFileUpload.UploadedFileGuids
    AjaxFileUpload.LoadPostData(string, NameValueCollection)
    WebControl.AddAttributesToRender(HtmlTextWriter)
    WebControl.ApplyStyle(Style)
    WebControl.CopyBaseAttributes(WebControl)
    WebControl.CreateControlStyle()
    WebControl.LoadViewState(object)
    WebControl.TrackViewState()
    WebControl.MergeStyle(Style)
    WebControl.RenderBeginTag(HtmlTextWriter)
    WebControl.RenderEndTag(HtmlTextWriter)
    WebControl.RenderContents(HtmlTextWriter)
    WebControl.SaveViewState()
    WebControl.AccessKey
    WebControl.Attributes
    WebControl.BackColor
    WebControl.BorderColor
    WebControl.BorderWidth
    WebControl.BorderStyle
    WebControl.ControlStyle
    WebControl.ControlStyleCreated
    WebControl.CssClass
    WebControl.DisabledCssClass
    WebControl.Style
    WebControl.Enabled
    WebControl.EnableTheming
    WebControl.Font
    WebControl.ForeColor
    WebControl.HasAttributes
    WebControl.Height
    WebControl.IsEnabled
    WebControl.SupportsDisabledAttribute
    WebControl.SkinID
    WebControl.TabIndex
    WebControl.TagKey
    WebControl.TagName
    WebControl.ToolTip
    WebControl.Width
    Control.ResolveAdapter()
    Control.HasEvents()
    Control.GetRouteUrl(object)
    Control.GetRouteUrl(string, object)
    Control.GetRouteUrl(RouteValueDictionary)
    Control.GetRouteUrl(string, RouteValueDictionary)
    Control.GetUniqueIDRelativeTo(Control)
    Control.ApplyStyleSheetSkin(Page)
    Control.OnDataBinding(EventArgs)
    Control.DataBind()
    Control.DataBind(bool)
    Control.DataBindChildren()
    Control.AddParsedSubObject(object)
    Control.EnsureID()
    Control.OnInit(EventArgs)
    Control.ClearChildState()
    Control.ClearChildControlState()
    Control.ClearChildViewState()
    Control.ClearEffectiveClientIDMode()
    Control.ClearCachedClientID()
    Control.Focus()
    Control.LoadControlState(object)
    Control.MapPathSecure(string)
    Control.OpenFile(string)
    Control.OnLoad(EventArgs)
    Control.BuildProfileTree(string, bool)
    Control.SaveControlState()
    Control.RenderChildren(HtmlTextWriter)
    Control.RenderControl(HtmlTextWriter)
    Control.RenderControl(HtmlTextWriter, ControlAdapter)
    Control.OnUnload(EventArgs)
    Control.Dispose()
    Control.RaiseBubbleEvent(object, EventArgs)
    Control.OnBubbleEvent(object, EventArgs)
    Control.AddedControl(Control, int)
    Control.CreateControlCollection()
    Control.CreateChildControls()
    Control.ResolveUrl(string)
    Control.ResolveClientUrl(string)
    Control.FindControl(string)
    Control.FindControl(string, int)
    Control.GetDesignModeState()
    Control.HasControls()
    Control.IsLiteralContent()
    Control.EnsureChildControls()
    Control.RemovedControl(Control)
    Control.SetDesignModeState(IDictionary)
    Control.SetRenderMethodDelegate(RenderMethod)
    Control.ClientIDMode
    Control.ClientID
    Control.ClientIDSeparator
    Control.Context
    Control.Adapter
    Control.DesignMode
    Control.Events
    Control.ID
    Control.IsChildControlStateCleared
    Control.EnableViewState
    Control.ViewStateMode
    Control.IsViewStateEnabled
    Control.NamingContainer
    Control.IdSeparator
    Control.LoadViewStateByID
    Control.Page
    Control.RenderingCompatibility
    Control.TemplateControl
    Control.Parent
    Control.TemplateSourceDirectory
    Control.AppRelativeTemplateSourceDirectory
    Control.Site
    Control.Visible
    Control.UniqueID
    Control.HasChildViewState
    Control.Controls
    Control.ValidateRequestMode
    Control.ViewState
    Control.ViewStateIgnoresCase
    Control.ChildControlsCreated
    Control.IsTrackingViewState
    Control.Disposed
    Control.DataBinding
    Control.Init
    Control.Load
    Control.PreRender
    Control.Unload
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: CuteWebUI
    Assembly: AjaxUploader.dll
    Syntax
    public class UploadPersistedFile : UploadFileBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackDataHandler, IAjaxUploader

    Constructors

    UploadPersistedFile()

    Initializes a new instance of the UploadPersistedFile class.

    Declaration
    public UploadPersistedFile()

    Properties

    File

    Gets the currently persisted file, if one has been selected or uploaded.

    Declaration
    [Browsable(false)]
    public PersistedFile File { get; }
    Property Value
    Type Description
    PersistedFile

    Methods

    ChangeFile(int, string, Stream)

    Replaces the current persisted file by uploading a new file.

    Declaration
    public void ChangeFile(int filesize, string filename, Stream stream)
    Parameters
    Type Name Description
    int filesize
    string filename
    Stream stream

    ClearFile()

    Clears the current persisted file selection.

    Declaration
    public void ClearFile()

    RaisePostDataChangedEvent()

    Raises the post-data changed notifications and upload events for files loaded during postback. For each restored GUID, the control reloads file metadata and fires validation, file, and batch-complete events.

    Declaration
    public override void RaisePostDataChangedEvent()
    Overrides
    AjaxFileUpload.RaisePostDataChangedEvent()

    Render(HtmlTextWriter)

    Renders the control to the specified HTML writer.

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    HtmlTextWriter writer

    The HtmlTextWriter object that receives the control content.

    Overrides
    AjaxFileUpload.Render(HtmlTextWriter)

    Events

    FileChanged

    Occurs when the persisted file value changes.

    Declaration
    public event PersistedFileEventHandler FileChanged
    Event Type
    Type Description
    PersistedFileEventHandler

    Implements

    IComponent
    IDisposable
    IParserAccessor
    IUrlResolutionService
    IDataBindingsAccessor
    IControlBuilderAccessor
    IControlDesignerAccessor
    IExpressionsAccessor
    IAttributeAccessor
    IPostBackDataHandler
    IAjaxUploader
    In this article
    Back to top AjaxUploader 5.0 API Reference