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.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic string OnClientClearing { get; set; }
Public Property OnClientClearing As String
Get
Set
public:
property String^ OnClientClearing {
String^ get ();
void set (String^ value);
}
member OnClientClearing : string with get, set
Property Value
Type:
StringThe 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>
<kaxU:KaxUpload OnClientClearing="myOnClientClearing" ... />
...
<script>
function myOnClientClearing()
{
Return confirm("Are you sure you want to clear this input?");
}
</script>
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also