This is a migrated thread and some comments may be shown as answers.

enableAfterSingleClick

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jaipal
Top achievements
Rank 1
jaipal asked on 12 Sep 2018, 07:03 PM

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

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 15 Oct 2018, 04:30 PM
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.
Tags
General Discussions
Asked by
jaipal
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or