Atozed Forums
SendFile with AsyncClick - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: SendFile with AsyncClick (/thread-1048.html)



SendFile with AsyncClick - matija - 04-26-2019

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)?


RE: SendFile with AsyncClick - Alexandre Machado - 04-28-2019

(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?


RE: SendFile with AsyncClick - matija - 04-29-2019

(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!