473,692 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why Redraw of the whole page when paginating?

urs
Hi, please look at the ASP.NET 2 site
http://www.prismatest.ch/catalog/EM.ASPX
(user=prismasho p, password=minico oper). Use the ">" Button to go to the
next pages.

You will notice that the page goes all white every time after pressing
the ">" Button, and redraws itself only after all parts of the page
have been downloaded. This means the page stays white for several
seconds.

On most other sites, the current page stays on screen until the very
last moment, that means it never becomes all white. Altough the page
itself does not load faster than usual, the user experience is much
better, since he can always see "something" . When the page goes all
white, the result is somewhat "flickering " and indicates a "slowness".

For example, take a look at this site:
http://www.citydisc.ch/s/search.cfm?...group_detail=0

Altough the site is quite slow, the page stays on-screen until the very
last moment when paginating, giving the user a better experience.

Does anyone know why this is happing? Is there a certain HTML or css
tag which causes this behaviour? I used lots of DIVs and SPANs and
stayed away from TABLEs where not appropriate (except for the title
bar). I also use lots of CSS. Is this the price I have to pay for
building a page with a "modern" apprach?

Thanks for any insight
Urs

Dec 9 '05 #1
12 2405
There is a (poor working) option to do a similar thing in asp.net

However, i'm curious why 'these' websites refresh differently.
I see a total refresh on ordinary sites as well, so??

<ur*@prismanet. ch> schreef in bericht
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Hi, please look at the ASP.NET 2 site
http://www.prismatest.ch/catalog/EM.ASPX
(user=prismasho p, password=minico oper). Use the ">" Button to go to the
next pages.

You will notice that the page goes all white every time after pressing
the ">" Button, and redraws itself only after all parts of the page
have been downloaded. This means the page stays white for several
seconds.

On most other sites, the current page stays on screen until the very
last moment, that means it never becomes all white. Altough the page
itself does not load faster than usual, the user experience is much
better, since he can always see "something" . When the page goes all
white, the result is somewhat "flickering " and indicates a "slowness".

For example, take a look at this site:
http://www.citydisc.ch/s/search.cfm?...group_detail=0

Altough the site is quite slow, the page stays on-screen until the very
last moment when paginating, giving the user a better experience.

Does anyone know why this is happing? Is there a certain HTML or css
tag which causes this behaviour? I used lots of DIVs and SPANs and
stayed away from TABLEs where not appropriate (except for the title
bar). I also use lots of CSS. Is this the price I have to pay for
building a page with a "modern" apprach?

Thanks for any insight
Urs

Dec 9 '05 #2
urs
yes, the pages refresh totally on other sites, but there, not the whole
browser screen remains white for several seconds.

Dec 9 '05 #3
My first thought would be that it depends on the buffering option used
server side...

--
Patrice

<ur*@prismanet. ch> a écrit dans le message de
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
yes, the pages refresh totally on other sites, but there, not the whole
browser screen remains white for several seconds.

Dec 9 '05 #4
urs
buffering option? which buffe? where would I change that?

Dec 9 '05 #5
Ok likely not that then as this is likely on by default ?

Else see either the IIS configuration (this is in the options tab for the
IIS application configuration) or if you have something like
Response.Buffer =False in your code.

Bascially it either accumulates all the response in a buffer allowing to
send this in one shot when the page is ready.
Else this is sent in several chunk and the browser may not at first have
enough info to display something else than a blank page.

Not sure but could worth a try...

--
Patrice

<ur*@prismanet. ch> a écrit dans le message de
news:11******** *************@f 14g2000cwb.goog legroups.com...
buffering option? which buffe? where would I change that?

Dec 9 '05 #6
Isn't this?:

Response.flush
<Do other heavy tasks like page.databind etc..>
Response.flush


"Patrice" <no****@nowhere .com> schreef in bericht
news:OU******** ******@TK2MSFTN GP10.phx.gbl...
Ok likely not that then as this is likely on by default ?

Else see either the IIS configuration (this is in the options tab for the
IIS application configuration) or if you have something like
Response.Buffer =False in your code.

Bascially it either accumulates all the response in a buffer allowing to
send this in one shot when the page is ready.
Else this is sent in several chunk and the browser may not at first have
enough info to display something else than a blank page.

Not sure but could worth a try...

--
Patrice

<ur*@prismanet. ch> a écrit dans le message de
news:11******** *************@f 14g2000cwb.goog legroups.com...
buffering option? which buffe? where would I change that?


Dec 9 '05 #7
CJ
<pages buffer="true" /> in the system.web section of web.config should
flush the buffer
response.flush is more for long running processes where you want to
show some form of status, update

Dec 11 '05 #8
Not sure what that does yet.
I include a meta no-chache in allmost all my pages.
Hopefully yours will not overrule that ???
"CJ" <Ch************ *@gmail.com> schreef in bericht
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
<pages buffer="true" /> in the system.web section of web.config should
flush the buffer
response.flush is more for long running processes where you want to
show some form of status, update

Dec 11 '05 #9
CJ
There's a great article here..

http://msdn.microsoft.com/library/de...netchapt06.asp

regards-

Dec 11 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3721
by: joe | last post by:
Can anyone help me out by either telling me how to get to the result i need or by pointing me to some documentation about the following question: A certain query to a database give me eg 100 results: $query = "select id, name, addr1, addr2, city from mytable where id=" ..$id; $connection = mysql_connect(etc etc) ....
0
1295
by: PHH | last post by:
Help me, please, When I redraw a ListviewItem in Listview (redraw items with icon and text columms). I used SetStyle(ControlStyle.UserPaint, true) function. And I redraw finish and run program, when I run program I choose first line (line with index = 0) but this line is not actived (draw border over that), after I click to another control (ex: other Listview, button ...) then this line is redrew border around. Only first line (first...
0
1904
by: WHITETIGER | last post by:
Help me, please, When I redraw a ListviewItem in Listview (redraw items with icon and text columms). I used SetStyle(ControlStyle.UserPaint, true) function. And I redraw finish and run program, when I run program I choose first line (line with index = 0) but this line is not actived (draw border over that), after I click to another control (ex: other Listview, button ...) then this line is redrew border around. Only first line (first...
2
3487
by: ch424 | last post by:
Hi, Does anybody know the fastest way to trigger a DrawingArea redaw in pygtk? At the moment, I'm using a bit of a hack: def redraw(self): self.area.hide() self.area.show() Is there a better way to trigger a redraw? This causes flickering when
2
2286
by: Kevin Chandler | last post by:
I appologize in advance if this is a novice question. I don't have much ASP.Net experience. I have an NCAA tournment selection page that I use asp:button controls. The problem is that everytime I click one of the buttons, the entire page redraws and the screen is scrolled to the top. How can I stop the entire screen from refreshing or how can I stop the page from scrolling back up to the top? Thanks in advance for your help,
13
2374
by: urs | last post by:
Hi, please look at the site http://www.prismatest.ch/catalog/EM.ASPX (user=prismashop, password=minicooper). When paginating through the list, the page rebuilds itself every time on firefox and IE6. On most other sites, the browser just redraws the changing areas. Does anyone know why this is happing? I used lots of DIVs and SPANs and stayed away from TABLEs where not appropriate (except for the title bar). I also use lots of CSS. Is...
0
2588
by: Dean Earley | last post by:
Hi all. I have just added translucency to one of my applications using the layered windows API, but I have come across a redraw problem. Unfortunately, I cant reproduce this in a standalone app but I'll try and explain what's happening. When a form is obscured when it is resized or made "visible" (I show some other forms on restore), it seems to remember that visibility
2
13068
by: diogoko | last post by:
I have some code like: try { someButton.disabled = true; cpuIntensiveCode(); } finally { someButton.disabled = false; } The problem is that someButton is never disabled, because the browser
6
3298
by: Martin Slater | last post by:
Hi all, I'm using a webbrowser control within an application for the UI and want to hide the flicker and redraw when changing pages. Ideally I want to render the new page to a seperate offscreen buffer then fade this over the exisiting page. Can anyone recommend a good way to approach this? thanks
0
8604
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8538
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9083
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8801
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5819
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4324
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2238
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.