This link has been bookmarked by 32 people . It was first bookmarked on 03 Aug 2006, by Abdullah Ahmed.
-
27 Aug 09
-
28 Mar 08
-
08 Sep 07
-
23 Jul 07
-
21 Mar 07
-
As you might have noticed, the code looks like typical ASP.NET server code in response to a form postback. Yet, when you run the application, you will see that its behavior is similar to the other AJAX examples and you have not written a single line of JavaScript. So how does it all work?
What happens is that any kind of client events which cause a postback are intercepted by the Atlas client framework. The form contents are then posted using the
XMLHttpRequestobject through JavaScript. From the server perspective, it is like a normal postback, but from the client perspective, the form is not submitted as the browser retains the web page state intact. The server side code then scans through all theUpdatePanels on the page, and checks if they need to be rendered or updated on the client side. This is done by checking the trigger. Only the portions of the page that are inside anUpdatePanel, which is triggered for an update, are actually rendered, and instead of sending the page's response as HTML, it is send as XML. The client-side script then parses the response XML and extracts and replaces the updatedUpdatePanels's contents.
-
-
19 Mar 07
-
24 Jan 07
-
04 Dec 06
-
25 Oct 06
-
27 Sep 06
-
Charlie MouseAn Introduction to AJAX Techniques and Frameworks for ASP.NET - The Code Project -
-
26 Sep 06
-
01 Sep 06
-
22 Aug 06
-
09 Aug 06
-
08 Aug 06
-
03 Aug 06
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.