Hello All,
I have a event called dataTree_AfterS elect in which I have some code which I want to execute as atomic operation like this:
What is happening now is, I am able to select another node of tree & in that case another execution of above function starts causing a garbled result.
What I want is, user should be able to click on tree node but execution of code block should only start after first execution is totally over.
How can I do this using thread? or non-thread solution is also appreciated.
Please note that my function is UI event.
Thanks in advance.
zacksoniar
I have a event called dataTree_AfterS elect in which I have some code which I want to execute as atomic operation like this:
Code:
protected void dataTree_AfterSelect(event params)
{
code that should not be disturbed
}
What I want is, user should be able to click on tree node but execution of code block should only start after first execution is totally over.
How can I do this using thread? or non-thread solution is also appreciated.
Please note that my function is UI event.
Thanks in advance.
zacksoniar
Comment