1
I am with the following problem, I make an ajax call to my service and it returns me a paged list everything ok.. And I have a button where I download to excel, only because it is a very heavy table and I have no way to page this in excel I end up having the error of time out in the return of my call ajax.
I have heard of a stop you make the call and while the service is processed I have another service asking if it is finished and when it is finished returns to the customer, but n have idea of the name of this call or if there is any better way to accomplish this..
Can someone please help me ?
You’re talking about Partial-Content?
– Jéf Bueno
Why don’t you simply serve the excel file without ajax?
– Oralista de Sistemas
@Renan then I have to make the call ajax pq my UI does not process anything she asks everything for my service so I need the ajax to make the right call?
– Gabriel Rodrigues
@Gabrielrodrigues if you are able to use ajax, you are able to redirect to the file URL, which is much simpler. Then the browser downloads the file quietly.
– Oralista de Sistemas