Home All Groups Group Topic Archive Search About
Author
26 May 2006 6:34 PM
vze1r2ht
If I'm building a schedule like log that contains lots of input
fields...is it better to enable the viewstate?


It's about 50 fields. Will enabling viewstate allow me to not hit the
DB again on POSTBACK?

Author
26 May 2006 8:16 PM
Alvin Bruney
yup, but your page will be heavy because of all these controls that need to
maintain state. Test between the two approaches to see what works out better
for you.

--

________________________
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
-------------------------------------------------------

<vze1r***@verizon.net> wrote in message
Show quote
news:1148668478.166845.290530@38g2000cwa.googlegroups.com...
> If I'm building a schedule like log that contains lots of input
> fields...is it better to enable the viewstate?
>
>
> It's about 50 fields. Will enabling viewstate allow me to not hit the
> DB again on POSTBACK?
>

AddThis Social Bookmark Button