KaxAsyncUploadOnClientValidationFailed Property |
Namespace: Kettic.AspNet.Controls
If specified, the onClientValidationFailed client-side event is called when a file has invalid extension or its size exceeds the maximum allowed size
This event cannot be cancelled.
<script type="text/javascript">
function onClientValidationFailed(sender, eventArgs)
{
var fileName = eventArgs.get_fileName();
var input = eventArgs.get_fileInputField();
}
</script>
<kettic:KaxAsyncUpload ID="KaxAsyncUpload1"
runat="server"
OnClientValidationFailed="onClientValidationFailed">
....
</kettic:KaxAsyncUpload>