Click or drag to resize
UploadAction Method (FuncHttpPostedFile, Object, Object)
Set the action to take when a file is uploaded. As a function the callback is given the responsiblity of what to do with the uploaded file. That will typically involve writing it to the file system so it can be used later.

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public Upload Action(
	Func<HttpPostedFile, Object, Object> action
)

Parameters

action
Type: SystemFuncHttpPostedFile, Object, Object
Callback

Return Value

Type: Upload
Self for chaining
See Also