Application.DoEvents()

danyeungw

Well-known member
Joined
Aug 30, 2005
Messages
73
Programming Experience
10+
Is Application.DoEvent() in ASP.NET or VB.NET? If it is for VB.NET, what is the syntex for ASP.NET 1.1?

Thanks.
DanYeung
 
There is no DoEvents in ASP.Net webpages because they don't have a message loop. What's on your mind is perhaps "real" multithreading where page postback returns immediately while server continues work in background thread? If so you just have to read a general tutorial about multithreading. For special cases of thread interaction try the first hits here.

The special 'thing' about ASP webpages is also that client side 'runs' independent of server side and enables you to use client side scripting that also connects with servers to make better user experience, you perhaps heard of AJAX, that's what this is about.
 
Back
Top