Click or drag to resize
KaxUploadOnClientDeletingSelected Property
Gets or sets the name of the client-side function which will be executed before the selected file inputs are removed.

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 OnClientDeletingSelected { get; set; }

Property Value

Type: String
The default value is string.Empty.
Remarks
You can cancel the removing of the file input items by returning false in the javascript function.
Examples
This example demonstrates how to create a client side confirmation dialog when removing the selected file input items from a KaxUpload control.
<kaxU:KaxUpload OnClientDeletingSelected="myOnClientDeletingSelected" ... />

<script>
function myOnClientDeletingSelected()
{
    var mustCancel = confirm("Are you sure?");
    return mustCancel;
}
</script>
See Also