Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SendFile with AsyncClick
#1
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)?
Reply
#2
(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?
Reply
#3
(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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)