Four Ways to Locally Update a Web Page
page 10 of 12
by Xianzhong Zhu
Average Rating: 
Views (Total / Last 10 Days): 54274/ 188


OK, now it is time to make a rough comparison with the four solutions introduced in this article.

First, the four ways all succeed in partially updating a web page. However, if there are plenty of data to be processed, then the slowest one should be the IFrame solution. This is because IFrame belongs to the fully server side based solution. It interacts continuously with the server side, which causes serious influences on the response ability.

Second, the fastest approach should be that based on the JavaScript. This is because this solution fully relies on the client side without interacting with the server side again and again. However, it requires loading all the related data at the first time when the web page is loaded. Another drawback lies in that this solution needs quite a lot of JavaScript blocks, which may result in fattening the browser side.

The rather perfect and recommendable solution should be the AJAX way. With the XMLHttpRequest object being ready, to partially load data is pretty easy; and also, the relevant data can be selected under specified conditions all of which can be met either through XMLDOM or via regular expressions.

Third, it should be pointed out that the Callback way is generally suggested to be used to create custom server-side controls (and of course is widely applied in ASP.NET 2.0 server controls).

On the whole, with different applications, the four ways in this article can achieve different effects. Thus, what we should do is to try our best to grasp all of them and single out the one that most suits our concrete circumstances.

View Entire Article

User Comments

Title: d   
Name: d
Date: 2012-10-24 12:04:07 PM
Title: Locally update a web page   
Name: Santosh
Date: 2010-05-04 3:41:59 AM
It's an amazing and really very very helpful article. After reading this article, I have become a fan of this site.... I request you to not delete this article, as it may be very helpful to many people.
Title: updating a web page   
Name: Mrs.
Date: 2009-05-19 3:23:22 PM
this is great
Title: Download Links Does Not Work   
Name: Tarik
Date: 2008-11-07 9:04:04 AM
Good Article , But Please Review The Downloads Links
Title: Mr.   
Name: Joydip Kanjilal
Date: 2008-10-16 10:25:58 AM
Title: how up date webpage   
Date: 2008-09-08 10:32:32 PM

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2020  |  Page Processed at 2020-08-13 10:50:08 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search