This is a fun one! I'm beginning to believe that it isn't even possible.... If anyone has any ideas I would LOVE to hear them!
Expand|Select|Wrap|Line Numbers
- Dim dt As Date = Now()
- Dim dt2 As Date = dt.AddSeconds(2)
- Do Until Now() = dt2
- Loop
- Response.Write("first Loop complete<br />") '(does not work - waits till postback has finished and all three responses show)
- ''FIRE SOME ALREADY REGESTERED JAVASCRIPT FUNC()
- dt = Now()
- dt2 = dt.AddSeconds(2)
- Do Until Now() = dt2
- Loop
- Response.Write("second Loop complete <br />") '(does not work - waits till postback has finished and all three responses show)
- ''FIRE SOME ALREADY REGESTERED JAVASCRIPT FUNC()
- dt = Now()
- dt2 = dt.AddSeconds(2)
- Do Until Now() = dt2
- Loop
- Response.Write("third Loop complete <br />") '(does not work - waits till postback has finished and all three responses show)
- ''FIRE SOME ALREADY REGESTERED JAVASCRIPT FUNC()