Reloading A Part Of Webpage, Preferred Approach

  • Thread starter Thread starter batista
  • Start date Start date
B

batista

Hello all,

I currently have a webpage which has a grid and using webservice.htc im
updating its content after every 5 seconds.

Now I want to add two forms at the bottom of the page.One of them
contains a gird which I want to be updated(and only that grid) when a
user clicks a button.

So basically I want to reload a part of a webpage not the entire page.

I thought about frames but(my luck :) ) read their disadvantages before
their advantages...

And also I think that with frames I wont be able to efficiently use the
webservice.htc to keep updating my first grid as I mentioned above..

So because their are many problems with frames, I'd like to know of
some other strategies
which are preferred and used to reload a part of webpage....

Please any suggestions....

Thanks.
Cheers...

Bye
 
Thus wrote batista,
Hello all,

I currently have a webpage which has a grid and using webservice.htc
im updating its content after every 5 seconds.

Now I want to add two forms at the bottom of the page.One of them
contains a gird which I want to be updated(and only that grid) when a
user clicks a button.

So basically I want to reload a part of a webpage not the entire page.

I thought about frames but(my luck :) ) read their disadvantages
before their advantages...

And also I think that with frames I wont be able to efficiently use
the webservice.htc to keep updating my first grid as I mentioned
above..

So because their are many problems with frames, I'd like to know of
some other strategies
which are preferred and used to reload a part of webpage....
Please any suggestions....

AJAX will do the trick here... have a look at http://atlas.aps.net/ or http://ajax.schwarz-interactive.de/csharpsample/default.aspx.

Cheers,
 
Hello, Batista:
In fact, I found that it is even easier to use .net C# to create
Google Map API application with AJAX. I created the data page which
access database and convert data into xml file. Then client calls the
data xml file through GXmlHttp to update page with necessary data
rather than updating or refreshing the whole page. For more detailed
description, see:
http://webdesignhosting.blogspot.com/

Good Luck!
 
Hello thr,

I'll look into AJAX in detail surely and...
The googls maps API looks interesting one to read...

Thanks for all the replies...

Bye.
 
Back
Top