ASP.NET AJAX Client Library: Combining createDelegate and createCallback
Posted by: Technology and Programming - Speednets Lottery Post Blog,
on 28 May 2008 |
View original | Bookmarked: 0 time(s)
When working with the ASP.NET AJAX client library, I find that I occasionally need to use both Function.createDelegate() and Function.createCallback() simultaneously.
Each time you use one or the other of these methods, the library places a "call wrapper" around your function. Then, when the new delegate (or callback) is called, there are actually two calls being made: the first to the wrapper, and the second when the wrapper calls your function.
By combining the use of both met......