Click or drag to resize
KaxUploadOnClientClearing Property
Gets or sets the name of the client-side function which will be executed before a fileinput field is cleared in a KaxUpload instance using the Clear button.

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

Property Value

Type: String
The default value is string.Empty.
Examples
This example demonstrates how to create a client side confirmation dialog when clearing a file input item of a KaxUpload instance.
<kaxU:KaxUpload OnClientClearing="myOnClientClearing" ... />
...
<script>
function myOnClientClearing()
{
    return confirm("Are you sure you want to clear this input?");
}
</script>
See Also