473,796 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Postback with no delay??

Recently I realized the Wachovia bank switched to asp.net pages. I like very
much the way they did it and I would like to know how they managed to do the
postbacks and the blinking between postbacks is almost unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks (a
white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.
May 24 '06 #1
13 1660
The postback is just "reloading" the page from the server. The amount of
time this takes will be a function of:

1) Your internet connection speed & your PC's speed
2) The size of the page you are trying to load
3) The internet connection speed and server speed of the host - in this
case, Wachovia Bank

There are lots of things you can do to speed up your pages such as:
- Frugal use of ViewState
- Careful management of server-side caching
- Disabling tracing and AutoEventWireup
- Precomiling pages, etc, etc

There are lots of great resources for this kind of thing - try Googling
"ASP.Net performance"

HTH,

Richard.

"Alex D." wrote:
Recently I realized the Wachovia bank switched to asp.net pages. I like very
much the way they did it and I would like to know how they managed to do the
postbacks and the blinking between postbacks is almost unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks (a
white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.

May 24 '06 #2
There are a couple of approaches if you are not running 2.0. XML-HTTP will
get you what you want however, the page will contain a lot of scripting.
Behaviors with the webservice htc implementation will do the trick nicely as
well. 2.0 supports script call backs and out of band calling that will
refresh portions of the screen. Note that these methods are still post backs
however, since the entire page does not need to be redrawn, it doesn't
*blink.

--

_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

"Alex D." <al********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Recently I realized the Wachovia bank switched to asp.net pages. I like
very much the way they did it and I would like to know how they managed to
do the postbacks and the blinking between postbacks is almost
unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.

May 24 '06 #3
Thanks for your suggestions. But as I said my pages are reallyyy small (10k)
and I am accessing the site at full 100 mb/s in my intranet and I can still
see very clearly the blank page between postbacks. Also Wachovia pages dont
seem to use ajax since if you pay attention very close you will se that
actually the hole page is refreshing BUT like Firefox or Opera do ...not
like IE.

"Richard Hauer" <ri************ *************** @hotmail.com> wrote in message
news:E9******** *************** ***********@mic rosoft.com...
The postback is just "reloading" the page from the server. The amount of
time this takes will be a function of:

1) Your internet connection speed & your PC's speed
2) The size of the page you are trying to load
3) The internet connection speed and server speed of the host - in this
case, Wachovia Bank

There are lots of things you can do to speed up your pages such as:
- Frugal use of ViewState
- Careful management of server-side caching
- Disabling tracing and AutoEventWireup
- Precomiling pages, etc, etc

There are lots of great resources for this kind of thing - try Googling
"ASP.Net performance"

HTH,

Richard.

"Alex D." wrote:
Recently I realized the Wachovia bank switched to asp.net pages. I like
very
much the way they did it and I would like to know how they managed to do
the
postbacks and the blinking between postbacks is almost unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a
white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.

May 24 '06 #4
Wachovia pages dont seem to use ajax since if you pay attention very close
you will se that actually the whoole page is refreshing BUT like Firefox or
Opera do ...not like IE. This refresh is happening VERY fast to the
eye...but is happening in the whole page. ???!!!

"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
There are a couple of approaches if you are not running 2.0. XML-HTTP will
get you what you want however, the page will contain a lot of scripting.
Behaviors with the webservice htc implementation will do the trick nicely
as well. 2.0 supports script call backs and out of band calling that will
refresh portions of the screen. Note that these methods are still post
backs however, since the entire page does not need to be redrawn, it
doesn't *blink.

--

_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

"Alex D." <al********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Recently I realized the Wachovia bank switched to asp.net pages. I like
very much the way they did it and I would like to know how they managed
to do the postbacks and the blinking between postbacks is almost
unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.


May 24 '06 #5
By the way, do you have a url to show us what exactly you are looking at? We
may have different experiences with the pages you are viewing.

--
-Demetri
"Alex D." wrote:
Wachovia pages dont seem to use ajax since if you pay attention very close
you will se that actually the whoole page is refreshing BUT like Firefox or
Opera do ...not like IE. This refresh is happening VERY fast to the
eye...but is happening in the whole page. ???!!!

"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
There are a couple of approaches if you are not running 2.0. XML-HTTP will
get you what you want however, the page will contain a lot of scripting.
Behaviors with the webservice htc implementation will do the trick nicely
as well. 2.0 supports script call backs and out of band calling that will
refresh portions of the screen. Note that these methods are still post
backs however, since the entire page does not need to be redrawn, it
doesn't *blink.

--

_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

"Alex D." <al********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Recently I realized the Wachovia bank switched to asp.net pages. I like
very much the way they did it and I would like to know how they managed
to do the postbacks and the blinking between postbacks is almost
unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.



May 24 '06 #6
1. Avoid viewstate like the plague. Unless really necessary.
2. Use light weight objects such as the repeater instead of the datagrid or
gridview. I guess Microsoft thinks everyone is running top of the line
machines for their servers.
3. Avoid session state all together. Session slows the performance of the
machine running the web app. Hidden fields is an alternate.
4. Enable Content Expiration for the web site.
5. Use datareader instead of dataset or other bulky objects for data access.

There are many other performance tuning techiques available. Google building
performance driven applications using asp.net. That should get you some good
reading material on the subject. It really is an art itself.

--
-Demetri
"Alex D." wrote:
Wachovia pages dont seem to use ajax since if you pay attention very close
you will se that actually the whoole page is refreshing BUT like Firefox or
Opera do ...not like IE. This refresh is happening VERY fast to the
eye...but is happening in the whole page. ???!!!

"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
There are a couple of approaches if you are not running 2.0. XML-HTTP will
get you what you want however, the page will contain a lot of scripting.
Behaviors with the webservice htc implementation will do the trick nicely
as well. 2.0 supports script call backs and out of band calling that will
refresh portions of the screen. Note that these methods are still post
backs however, since the entire page does not need to be redrawn, it
doesn't *blink.

--

_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

"Alex D." <al********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Recently I realized the Wachovia bank switched to asp.net pages. I like
very much the way they did it and I would like to know how they managed
to do the postbacks and the blinking between postbacks is almost
unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.



May 24 '06 #7
maybe you are right and the datagrid is causing the problem. the page I was
using to make tests just have a label and a colorfull datagrid. also maybe
using soft colors will smooth the transition between pages.

"Demetri" <De*****@discus sions.microsoft .com> wrote in message
news:8C******** *************** ***********@mic rosoft.com...
1. Avoid viewstate like the plague. Unless really necessary.
2. Use light weight objects such as the repeater instead of the datagrid
or
gridview. I guess Microsoft thinks everyone is running top of the line
machines for their servers.
3. Avoid session state all together. Session slows the performance of the
machine running the web app. Hidden fields is an alternate.
4. Enable Content Expiration for the web site.
5. Use datareader instead of dataset or other bulky objects for data
access.

There are many other performance tuning techiques available. Google
building
performance driven applications using asp.net. That should get you some
good
reading material on the subject. It really is an art itself.

--
-Demetri
"Alex D." wrote:
Wachovia pages dont seem to use ajax since if you pay attention very
close
you will se that actually the whoole page is refreshing BUT like Firefox
or
Opera do ...not like IE. This refresh is happening VERY fast to the
eye...but is happening in the whole page. ???!!!

"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
> There are a couple of approaches if you are not running 2.0. XML-HTTP
> will
> get you what you want however, the page will contain a lot of
> scripting.
> Behaviors with the webservice htc implementation will do the trick
> nicely
> as well. 2.0 supports script call backs and out of band calling that
> will
> refresh portions of the screen. Note that these methods are still post
> backs however, since the entire page does not need to be redrawn, it
> doesn't *blink.
>
> --
>
> _______________ _________
> Warm regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> Professional VSTO.NET - Wrox/Wiley
> The O.W.C. Black Book with .NET
> www.lulu.com/owc, Amazon
> Blog: http://www.msmvps.com/blogs/alvin
> -------------------------------------------------------
>
> "Alex D." <al********@hot mail.com> wrote in message
> news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>> Recently I realized the Wachovia bank switched to asp.net pages. I
>> like
>> very much the way they did it and I would like to know how they
>> managed
>> to do the postbacks and the blinking between postbacks is almost
>> unnoticeable!
>>
>> I my sites even when browsing in the local network and the pages are
>> very
>> very small I still can clearly see the blinking between pages
>> postbacks
>> (a white page in the middle)
>>
>>
>>
>> Is there any way I can do like wachovia?
>>
>>
>>
>> Thanks,
>>
>> Alex.
>>
>>
>
>


May 24 '06 #8
unfortunately the site I am talking about is already in use and is private.
but as I tried with opera and firefox and they perform MUCH better than
IE....but MUCH better to the point that you dont see the postbacks blinks at
all!!

"Demetri" <De*****@discus sions.microsoft .com> wrote in message
news:AE******** *************** ***********@mic rosoft.com...
By the way, do you have a url to show us what exactly you are looking at?
We
may have different experiences with the pages you are viewing.

--
-Demetri
"Alex D." wrote:
Wachovia pages dont seem to use ajax since if you pay attention very
close
you will se that actually the whoole page is refreshing BUT like Firefox
or
Opera do ...not like IE. This refresh is happening VERY fast to the
eye...but is happening in the whole page. ???!!!

"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
> There are a couple of approaches if you are not running 2.0. XML-HTTP
> will
> get you what you want however, the page will contain a lot of
> scripting.
> Behaviors with the webservice htc implementation will do the trick
> nicely
> as well. 2.0 supports script call backs and out of band calling that
> will
> refresh portions of the screen. Note that these methods are still post
> backs however, since the entire page does not need to be redrawn, it
> doesn't *blink.
>
> --
>
> _______________ _________
> Warm regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> Professional VSTO.NET - Wrox/Wiley
> The O.W.C. Black Book with .NET
> www.lulu.com/owc, Amazon
> Blog: http://www.msmvps.com/blogs/alvin
> -------------------------------------------------------
>
> "Alex D." <al********@hot mail.com> wrote in message
> news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>> Recently I realized the Wachovia bank switched to asp.net pages. I
>> like
>> very much the way they did it and I would like to know how they
>> managed
>> to do the postbacks and the blinking between postbacks is almost
>> unnoticeable!
>>
>> I my sites even when browsing in the local network and the pages are
>> very
>> very small I still can clearly see the blinking between pages
>> postbacks
>> (a white page in the middle)
>>
>>
>>
>> Is there any way I can do like wachovia?
>>
>>
>>
>> Thanks,
>>
>> Alex.
>>
>>
>
>


May 24 '06 #9
Nah, colors have no bearing on performance. It may only assist in an illusion
that there is no blinking (e.g. white page background versus a dark page
background). But that has nothing to do with performance.

Another thing, don't have images if possible. Some sites i've created have a
brand or logo and thats fine. But I stay away from using images if I can.
That is less info that has to be downloaded to the client.

Again, there are many articles on this subject. I pay attention to those
written by microsoft since they know the "under the hood" better than others
would. MSDN Magazine, and MSDN, as well as Patterns and Practices.

--
-Demetri
"Alex D." wrote:
maybe you are right and the datagrid is causing the problem. the page I was
using to make tests just have a label and a colorfull datagrid. also maybe
using soft colors will smooth the transition between pages.

"Demetri" <De*****@discus sions.microsoft .com> wrote in message
news:8C******** *************** ***********@mic rosoft.com...
1. Avoid viewstate like the plague. Unless really necessary.
2. Use light weight objects such as the repeater instead of the datagrid
or
gridview. I guess Microsoft thinks everyone is running top of the line
machines for their servers.
3. Avoid session state all together. Session slows the performance of the
machine running the web app. Hidden fields is an alternate.
4. Enable Content Expiration for the web site.
5. Use datareader instead of dataset or other bulky objects for data
access.

There are many other performance tuning techiques available. Google
building
performance driven applications using asp.net. That should get you some
good
reading material on the subject. It really is an art itself.

--
-Demetri
"Alex D." wrote:
Wachovia pages dont seem to use ajax since if you pay attention very
close
you will se that actually the whoole page is refreshing BUT like Firefox
or
Opera do ...not like IE. This refresh is happening VERY fast to the
eye...but is happening in the whole page. ???!!!

"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
> There are a couple of approaches if you are not running 2.0. XML-HTTP
> will
> get you what you want however, the page will contain a lot of
> scripting.
> Behaviors with the webservice htc implementation will do the trick
> nicely
> as well. 2.0 supports script call backs and out of band calling that
> will
> refresh portions of the screen. Note that these methods are still post
> backs however, since the entire page does not need to be redrawn, it
> doesn't *blink.
>
> --
>
> _______________ _________
> Warm regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> Professional VSTO.NET - Wrox/Wiley
> The O.W.C. Black Book with .NET
> www.lulu.com/owc, Amazon
> Blog: http://www.msmvps.com/blogs/alvin
> -------------------------------------------------------
>
> "Alex D." <al********@hot mail.com> wrote in message
> news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>> Recently I realized the Wachovia bank switched to asp.net pages. I
>> like
>> very much the way they did it and I would like to know how they
>> managed
>> to do the postbacks and the blinking between postbacks is almost
>> unnoticeable!
>>
>> I my sites even when browsing in the local network and the pages are
>> very
>> very small I still can clearly see the blinking between pages
>> postbacks
>> (a white page in the middle)
>>
>>
>>
>> Is there any way I can do like wachovia?
>>
>>
>>
>> Thanks,
>>
>> Alex.
>>
>>
>
>


May 24 '06 #10

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

Similar topics

4
5648
by: Mike Szanto | last post by:
I have an intranet application where some pages display large tables of editable data. I've designed the page to operate like Microsoft Access where the user can move from cell to cell and as they change rows it checks to see if edits have been made and automatically saves the changes to that row in our SQL database. Here's my challenge: Everytime the information is posted back to the server, the page is reloaded at the client(normal asp...
1
1336
by: szabelin | last post by:
Hello, what is the page directive (was it meta something?) that causes page go call the server at predefined intervals? I used to have a link to sample code but it's broken now. thanks
3
2158
by: Rubble | last post by:
Hello, Ive placed a server control button on my aspx page. Ive created some client side script that Ive tied to the onclick action of this button. The script adds to a listbox the contents of a textbox. It works very well, but the page does a postback, and the listbox resets itself. The listbox has to be a server control, so I cant create this whole scenario using your basic client side javascript.
4
3129
by: Paul W | last post by:
For debugging purposes, I have the following in Page_load: Response.Write("postback is " + IsPostBack.ToString + Now.ToLongTimeString) i When I view my page in IE, if I hit F5 (refresh), it tells me (as expected) that IsPostback is False. If I then hit a submit button on the page it tells me (as expected) that
4
2362
by: Dan =o\) | last post by:
Hi guys, in the scenario where a user fills in a form, and clicks on a button to Save, there's a period of waiting (the slower the connection between client and server, the longer the delay) where the user may be oblivious and could say, press the button twice, or even fill in some more data on the form... When the postback completes, any data entered in during this delay is lost. How do I, when the user clicks on a button, process...
3
2578
by: Tim::.. | last post by:
Can someone please tell my why I get the following problem when I type the following piece of code! How do I get around this??? The idea is that when a user clicks a button on a form it causes a postback to occur which in turn triggers a sub in a user control... Error: Argument not specified for parameter e of Public Sub UploadDate(Sender As
9
3340
by: John Walker | last post by:
Hi, I have a datagrid with a radiobutton template column, with AutoPostBack set to TRUE. When the user clicks on a radiobutton the application will PostBack, and in the PostBack there will be certain logic performed, and the dataview will be re-binded to the datagrid. There turns out to be about 2-5 seconds delay between the time the user clicks the radiobutton and when the page is completely re-loaded. During this time the user may try...
1
1373
by: Jason | last post by:
I have a webpage that I've wrapped in an Atlas UpdatePanel. This page contains four textboxes, each with AutoPostBack set to true. The problem comes when someone edits the first box and tabs to the second box. They have enough time to make a quick edit to the second box before the postback completes and then the value in the second textbox is reset to the original value. Is there anything I can do about this? It's really causing...
3
3698
by: John Kotuby | last post by:
Hi all, Just wondering. I am converting an ASP application to ASP.NET 2.0. The ASP version used a JavaScript Calendar that would pop up on the client side and populate various text fields with the selected date. Very cool. I am trying to emulate that behavior with the ASP.NET Calendar control, but it seems to require a call back to the server (postback) to actually populate a textbox. I can see how that would take a while for a dial-up...
4
1715
by: =?Utf-8?B?RGFpc3k=?= | last post by:
I have a couple of listboxes and dropdownlist on a page and they are postback enabled. The problem is whenever user clicks the box the page brings to the top. is there anyway to delay the postback till all the listboxes and dropdown selections are made then the data is postback to server when the submit button is clicked? Thanks for any response in advance!
0
10455
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
10228
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10006
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
9052
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
5441
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...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
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
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.