enableAfterSingleClick

2 posts, 0 answers
  1. jaipal
    jaipal avatar
    10 posts
    Member since:
    Mar 2018

    Posted 12 Sep 2018 Link to this post

    Hello All,

     

    I Have a RadButton and on click event, I am generating PDF File.   Response.BinaryWrite is used so that user can save the file to desk.

    The user shouldn't be clicking the button twice for which I have enabled the option SingleClick to True. The issue is that I have to Enable back the button once the user has completed the download of the file. 

     

    Need help with this. 

     

     

    Regards,

    JP

  2. Peter Milchev
    Admin
    Peter Milchev avatar
    738 posts

    Posted 15 Oct 2018 Link to this post

    Hello JP,

    You can review the newly created KB article and use the same approach in your project - Use cookies to help execute custom JavaScript after a file starts to download.

    Regards,
    Peter Milchev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top