Atozed Forums

Full Version: SendFile with AsyncClick
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This WebApplication.SendFile('C:\Temp\test.pdf',true,'',''); good work with Click.

I want it work with AsyncClick? With AsyncClick open my pdf in new tab. I do not want to do this!

Maybe solution replace with Javascript or other (thread)?
(04-26-2019, 03:03 PM)matija Wrote: [ -> ]This WebApplication.SendFile('C:\Temp\test.pdf',true,'',''); good work with Click.

I want it work with AsyncClick? With AsyncClick open my pdf in new tab. I do not want to do this!

Maybe solution replace with Javascript or other (thread)?

What do you want to accomplish? Download it?
(04-28-2019, 10:12 AM)Alexandre Machado Wrote: [ -> ]
(04-26-2019, 03:03 PM)matija Wrote: [ -> ]This WebApplication.SendFile('C:\Temp\test.pdf',true,'',''); good work with Click.

I want it work with AsyncClick? With AsyncClick open my pdf in new tab. I do not want to do this!

Maybe solution replace with Javascript or other (thread)?

What do you want to accomplish? Download it?

I have modal window with Download button. With AsyncClick of button i want only download file no open file (pdf) as does Click from above example!