Re: viewstate?
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 07/09/04
- Next message: Nick Landsberg: "Re: Estimate of hours to be spent on a project"
- Previous message: Bob Grommes: "Re: PHP and ASP.NET go HEAD to HEAD"
- In reply to: bruce barker: "Re: viewstate?"
- Next in thread: Steven Cheng[MSFT]: "Re: viewstate?"
- Reply: Steven Cheng[MSFT]: "Re: viewstate?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 09 Jul 2004 02:20:21 GMT
Hi Brian,
AS for the large Viewstate problem you met, I think Bruce's suggestions are
informative and reasonable. Generally the Page's ViewState will contains
all the controls' viewstate on the page. And most control only perisist
their particular display settings(properties) in ViewState. However, the
ASP.NET Template dataBinding controls such as DataGrid, DataList.....
will store all the binded datas(rows ) into the ViewState, that means if
the datagrid contains lots of rows of data, the ViewState will also
increase to a very large size. Here are some tech articles discussing on
the ASP.NET's ViewState and some have mentioned the performance concerns:
#Understanding ASP.NET View State
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html
/viewstate.asp
#Taking a Bite Out of ASP.NET ViewState
http://msdn.microsoft.com/library/en-us/dnaspnet/html/asp11222001.asp?frame=
true
# Improving ASP.NET Performance
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/
scalenetchapt06.asp
Hope helps. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
- Next message: Nick Landsberg: "Re: Estimate of hours to be spent on a project"
- Previous message: Bob Grommes: "Re: PHP and ASP.NET go HEAD to HEAD"
- In reply to: bruce barker: "Re: viewstate?"
- Next in thread: Steven Cheng[MSFT]: "Re: viewstate?"
- Reply: Steven Cheng[MSFT]: "Re: viewstate?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|