HighTechTalks DotNet Forums  

Re: postback takes more time than the first load

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss Re: postback takes more time than the first load in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Kevien Lee
 
Posts: n/a

Default Re: postback takes more time than the first load - 12-18-2006 , 08:13 PM






There is a datagrid in the page, 400 rows, viewstate is enable.
There is also a dataset which is stored in viewstate.
//However you will do,it shuold not reduce the cost of "a dataset(400
records) which is stored in viewstate",
I sugesstion that you use another way to do this work,such as ajax..

On Dec 14, 3:30 am, Lynn Zeng <LynnZ... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a large asp.net page.
There is a datagrid in the page, 400 rows, viewstate is enable.
There is also a dataset which is stored in viewstate.
The first load of the page takes 8 seconds.
the postback gave me a timeout.

The page is large(1.5 M bytes).
what the postback did is just deserializing the viewstate back to dataset.

I know the large viewstate will slow down the performance, I exepected that
the post back would take two times amount of time of the first load.
but I still cannot figure out why timeout occured.

Is that because deserialization take more time than serialization?

Any help will be very appreciated!!!

--
Lynn


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.