Adding Async=true to the page- no side effects noticed.
Posted
by Michael Freidgeim
on Geeks with Blogs
See other posts from Geeks with Blogs
or by Michael Freidgeim
Published on Sun, 30 Sep 2012 00:55:49 GMT
Indexed on
2012/09/30
3:38 UTC
Read the original article
Hit count: 465
"A PageAsyncTask object must be registered to the page through the RegisterAsyncTask method. The page itself does not have to be processed asynchronously to execute asynchronous tasks. You can set the Async attribute to either true (as shown in the following code example) or false on the page directive and the asynchronous tasks will still be processed asynchronously:
<%@ Page Async="true" %>
When the Async attribute is set to false, the thread that executes the page will be blocked until all asynchronous tasks are complete."
- Asynchronous pages do not work when the AspCompat attribute is set to true or the Transactionattribute is set to a value other than Disabled in the @ Page directive
© Geeks with Blogs or respective owner