Hello all.
I am not sure if this is possible.
I have a asp.net page which calls a Web Service on the button click event via Jquery. The web service calls another class which perform some operations on the database. This class uses events which fire every time a method is executed.
The web service, has a method which handle these events and add the event status to a string variable.
There is another method on the web service which expose the event to the page.
On the page, I have a javascript method which uses a Jquery Ajax call to the web service method to retrieve the status of the event. This javascript method is running on a interval time.
My problem is that, every time that the Jquery calls the method on the web service to retrieve the status of the event, it returns a empty string. The reason behind is that the event has gone out of scope.
The events are firing, the web service is handling them, but I don't see a way to get the events back to the page.
Anyone has any ideas how to implement this?
thanks all.