Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 06, 2011 03:33 AM by Peter pi - MSFT
Apr 04, 2011 02:55 PM|LINK
I have the following situation. I have asp.net 2.0 web service which is having webmethod which returns so much of data. As the processing takes time, i have decided to make that web request as asynchronous. I have made the necessary modification and was
trying to call the webmethoed using the eventbased model. So the webmethoed will get called after we click on a button. It takes data from a grid and then sends it to webmethod which processes it and returns the data.
But i have the following technical problem with the above way. When I first clicked the button for async request, I got the data. Now when I clicked it again im getting the result twice. Now if I try to click again Im getting the result 3 times and if i
continue clicking the button for that asynchronous call, I am getting the result that many number of times which is very annoying as the result is used to populate a grid. So because of this result is being populated number of times unnecessarily. I have tried
different ways but not able to find the reason for this behaviour.
So could you please let me know if there is any setting which will prevent this situation from being happend. Thanks in advance.
Apr 06, 2011 03:33 AM|LINK
This is a duplicated thread, for the benefit of others, please focus on one of them: