Viewstate with SQL Server

  • Thread starter Thread starter STom
  • Start date Start date
S

STom

I am looking for information on how I can store ViewState information in SQL
server. The information or details seem to be sparse. Can someone direct me
to some links?

Thanks.

STom
 
Basically you need to do such operation in Page's
LoadPageStateFromPersistenceMedium and SavePageStateToPersistenceMedium
methods respectively. And with ASP.NEt v1 there's such a bug that you need
to still have a hidden form field named __VIEWSTATE registered for it to
work (even if state is preserved elsewhere).

For more details see:
http://www.aspalliance.com/PaulWilson/Articles/?id=7
--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top