We have the following scenario:
A user selects a node from a tree on the left hand side, we then use the information from the node to populate the right hand side using:
function PerformAjaxRequest(i_Val)
{
$find("<%= MasterAjaxManager.ClientID %>").ajaxRequest(i_Val);
}
Where MasterAjaxManager is a RadAjaxManager. My problem is that when a user then selects multiple nodes on the tree in quick succession, the right hand side becomes out of sync with the actual node selected on the tree. Hence I would like to cancel the request. The method I have observed for cancelling an request I have seen is the following:
function onRequestStart(sender,
arguments)
{
return false;
}
In the onRequestStart function I would then poll a variable (delay in between each poll) which will tell me if another node has been selected if so the function will return false else carry on polling until either a timeout has been reached or the ajaxRequest has been successful.
I am contacting your team to see if there is a better way of doing this???
Many Thanks in Advance
Bleddyn