4 Replies Latest reply on Dec 1, 2009 10:13 PM by Madhav Subedi

    how to restrict mutiple user clicks with asynchrounous behavior of FLEX


      I have developed a flex application and it has a datagrid, and on double clicking on the datagrid, I am showing a popup window ( the code in the popup window has call to httpService.send(), to get the data and display). Before the popup is opened, the user is double clicking again on the datagrid, which inturn is trying to open the popup window (with a new call to web service). These calls are piling up. How can i restrict making call to httpService.send() when user double clicked for the second time on the datagrid. Since, the web service call is asynchronous by nature, I am not able to figure out a way for this. Can anyone please help.