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.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic string OnClientDeletingSelected { get; set; }
Public Property OnClientDeletingSelected As String
Get
Set
public:
property String^ OnClientDeletingSelected {
String^ get ();
void set (String^ value);
}
member OnClientDeletingSelected : string with get, set
Property Value
Type:
StringThe 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>
<kaxU:KaxUpload OnClientDeletingSelected="myOnClientDeletingSelected" ... />
<script>
function myOnClientDeletingSelected()
{
var mustCancel = confirm("Are you sure?");
return mustCancel;
}
</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