C# Class AjaxControlToolkit.AjaxFileUploadHelper

Datei anzeigen Open project: DevExpress/AjaxControlToolkit Class Usage Examples

Public Methods

Method Description
Abort ( HttpContext context, string fileId ) : void
Process ( HttpContext context ) : bool
ProcessStream ( HttpContext context, Stream source, string fileId, string fileName, bool chunked, bool isFirstChunk, bool usePoll ) : bool

Private Methods

Method Description
IsSubDirectory ( string parentDirectory, string childDirectory ) : bool

Method Details

Abort() public static method

public static Abort ( HttpContext context, string fileId ) : void
context System.Web.HttpContext
fileId string
return void

Process() public static method

public static Process ( HttpContext context ) : bool
context System.Web.HttpContext
return bool

ProcessStream() public static method

public static ProcessStream ( HttpContext context, Stream source, string fileId, string fileName, bool chunked, bool isFirstChunk, bool usePoll ) : bool
context System.Web.HttpContext
source Stream
fileId string
fileName string
chunked bool
isFirstChunk bool
usePoll bool
return bool