Hello people!
I have a really weird problem here...
Let's say i have 4 lines of codes in a function like this one:
SomeSVGDialog.Show(); //this is an SVG dialog box that shows to give
some feedback
FunctionCall1(); //these functions calls webforms via XMLHTTP and
erform stuff
FunctionCall2();
FunctionCall3();
SomeSVGDialog.Hide();//thide the feedback window
OK... The way I see it, the normal sequence of events would be, the
feedback form is displayed, then, FunctionCall1, FunctionCall2 and
FunctionCall3 are executed and then the feedback window would hide,
right?
WRONG!!!
Right now, the feedback window isnt even displayed...
all operations are performed but i dont see the feedback form showing
up...
I have found a quick fix to that but its not really pretty...
I am doing this:
SomeSVGDialog.Show();
var DisplayTimer = setTimeout("FunctionCall1();FunctionCall2();Functi onCall3();SomeSVGDialog.Hide();",
500);
this work perfectly!!
Someone told me it may be because i am running the client javascript
code on a machine with multiple processors... Which is correct but i
didnt have the opportunity to test it on a single processor machine
yet...
In any case, id like to know if someone knows why this happens and how
to fix it if possible because i cannot assume users will all have
single CPU machines...
Thanks in advance!
Stephan Parrot