Click or drag to resize
KaxAsyncUploadOnClientFileUploaded Property
Gets or sets the name of the client-side function which will be executed when a file upload finishes successfully.k

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public string OnClientFileUploaded { get; set; }

Property Value

Type: String
The default value is string.Empty.
Remarks

If specified, the OnClientFileUploaded client-side event is called when file is uploaded successfully.

  • sender, the asyc upload client object;
  • eventArgs with one property:
    • get_fileName(), the name of the file that was uploaded.

This event cannot be cancelled.

Examples

<script type="text/javascript">
function onClientFileUploaded(sender, eventArgs)
{
var fileName = eventArgs.get_fileName();
}
</script>

<kettic:KaxAsyncUpload ID="KaxAsyncUpload1"
runat="server"
OnClientFileUploaded="onClientFileUploaded">
....
</kettic:KaxAsyncUpload>

See Also