|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ViewstateIf 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? 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. -- Show quote________________________ 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 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? > |
|||||||||||||||||||||||