args.set_cancel(true) is not working

2 posts, 0 answers
  1. Deepak
    Deepak avatar
    2 posts
    Member since:
    Sep 2010

    Posted 21 Oct 2010 Link to this post

    Hi All,

    Assembly Version: 2010.2.826.35

    i want to cancel file deletion if user clicks on "Cancel" button on confirmation alert.which i am showing on remove(delete).
    But that is not happening .It deletes the file and only keeps the file name row

    <telerik:RadAsyncUpload ID="radUpload" runat="server" AllowedFileExtensions=".pdf" MaxFileInputsCount="5"  Localization-Select="Browse" Localization-Remove = "Delete Document"                    OnClientValidationFailed="validationFailed" TemporaryFileExpiration="5"            OnClientFileSelected="fileSelected" OnClientDeleting="fileDelete" OnClientFileUploaded ="fileUploaded">
    function fileDelete(sender, args) {
            if (confirm("Are you sure to Delete the record?"))  {
                args._cancel = false;        
            else {
                //args._cancel = true;

    Can anyone help me on this.

    Deepak Dhirhe
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 26 Oct 2010 Link to this post

    Hi Deepak,

    I've tried reproducing the problem on a sample, however, no avail. I've managed to successfully cancel the deleting operation. I'm attaching my test project to this replay. Can you reproduce the problem on it?

    Kind regards,
    Genady Sergeev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top