Click or drag to resize
KaxUploadOnClientDeleting Property
Gets or sets the name of the client-side function which will be executed before a file input is deleted from a KaxUpload instance.

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

Property Value

Type: String
The default value is string.Empty.
Remarks
If you want to cancel the deleting of the file input return false in the javascript handler.
Examples
This example demonstrates how to implement a confirmation dialog when removing a file input item.
<kaxU:KaxUpload OnClientDeleting="myOnClientDeleting" ... />
<script language="javascript">
function myOnClientDeleting()
{
    return prompt("Are you sure?");
}
</script>
See Also