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