471,591 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,591 software developers and data experts.

Reload Problem

Hi, I'm new to ASP.NET. If the web page is running in server-side, how
can I reload the particular section of the web page instead of the whole
page? Say, I've separated the web page into several frames and I want to
reload one of the frames without reload the whole page. How can I do
this? Shall I use client-side program? Thanks in millions
Jul 28 '06 #1
3 1126
web pages are based on the principle that you make a request to a server,
and it responds with a reply. Once you have requested the page - the
results are sent to the client and there is no connection to that server.
So your page is not actually running on the server - it has ran.

So, you have two basic choices - one is to request the page and use fragment
caching so make sure that while the whole page is returned only certain
parts of it are updated, thus your response times are quicker.....or you can
look at Atlas (Ajax) and connect client side actions to server side methods,
thus avoiding a whole page round trip.

I would seriously consider not using frames unless you need to, they are
clunky and awkward to work with....but if you nede to update a frame then
you have to revert to Javascript. Lots of examples around for cross frame
scripting.

Regards

John Timney (MVP)
"ghostwolf" <cu*******@gmail.comwrote in message
news:eJ**************@TK2MSFTNGP03.phx.gbl...
Hi, I'm new to ASP.NET. If the web page is running in server-side, how
can I reload the particular section of the web page instead of the whole
page? Say, I've separated the web page into several frames and I want to
reload one of the frames without reload the whole page. How can I do
this? Shall I use client-side program? Thanks in millions

Jul 28 '06 #2
Yes, and which choice is easier for me to implement? Does VS.NET 2005
support "fragment caching" or "AJAX"? Thanks in advance.

John Timney (MVP) wrote:
web pages are based on the principle that you make a request to a server,
and it responds with a reply. Once you have requested the page - the
results are sent to the client and there is no connection to that server.
So your page is not actually running on the server - it has ran.

So, you have two basic choices - one is to request the page and use fragment
caching so make sure that while the whole page is returned only certain
parts of it are updated, thus your response times are quicker.....or you can
look at Atlas (Ajax) and connect client side actions to server side methods,
thus avoiding a whole page round trip.

I would seriously consider not using frames unless you need to, they are
clunky and awkward to work with....but if you nede to update a frame then
you have to revert to Javascript. Lots of examples around for cross frame
scripting.

Regards

John Timney (MVP)
"ghostwolf" <cu*******@gmail.comwrote in message
news:eJ**************@TK2MSFTNGP03.phx.gbl...
>Hi, I'm new to ASP.NET. If the web page is running in server-side, how
can I reload the particular section of the web page instead of the whole
page? Say, I've separated the web page into several frames and I want to
reload one of the frames without reload the whole page. How can I do
this? Shall I use client-side program? Thanks in millions

Jul 28 '06 #3
it supports both, and many more approaches to caching and performance
techniques. AJAX is probably for more experienced developers but you can
read up on caching here:

http://www.devx.com/dotnet/Article/27327

Regards

John Timney (MVP)
"ghostwolf" <cu*******@gmail.comwrote in message
news:%2******************@TK2MSFTNGP05.phx.gbl...
Yes, and which choice is easier for me to implement? Does VS.NET 2005
support "fragment caching" or "AJAX"? Thanks in advance.

John Timney (MVP) wrote:
>web pages are based on the principle that you make a request to a server,
and it responds with a reply. Once you have requested the page - the
results are sent to the client and there is no connection to that server.
So your page is not actually running on the server - it has ran.

So, you have two basic choices - one is to request the page and use
fragment
caching so make sure that while the whole page is returned only certain
parts of it are updated, thus your response times are quicker.....or you
can
look at Atlas (Ajax) and connect client side actions to server side
methods,
thus avoiding a whole page round trip.

I would seriously consider not using frames unless you need to, they are
clunky and awkward to work with....but if you nede to update a frame then
you have to revert to Javascript. Lots of examples around for cross
frame
scripting.

Regards

John Timney (MVP)
"ghostwolf" <cu*******@gmail.comwrote in message
news:eJ**************@TK2MSFTNGP03.phx.gbl...
>>Hi, I'm new to ASP.NET. If the web page is running in server-side, how
can I reload the particular section of the web page instead of the whole
page? Say, I've separated the web page into several frames and I want to
reload one of the frames without reload the whole page. How can I do
this? Shall I use client-side program? Thanks in millions


Jul 28 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

66 posts views Thread by Ellinghaus, Lance | last post: by
19 posts views Thread by Darren | last post: by
6 posts views Thread by Stefan Mueller | last post: by
9 posts views Thread by permanent.tourist | last post: by
4 posts views Thread by Patrick C | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.