Hi,
To store the ViewState in the session:
Public Class default_aspx
Inherits System.Web.UI.Page
Protected Overrides Sub _
SavePageStateToPersistenceMedium( _
ByVal viewState As Object)
Session("ViewState") = viewState
End Sub
Protected Overrides Function _
LoadPageStateFromPersistenceMedium() As Object
Return Session("ViewState")
End Function
'... The rest of the class ...
End Class
Greetings
Martin
"Denis Georgievski" <de***@cergis.com> wrote in message
news:#0**************@TK2MSFTNGP09.phx.gbl...
I am optimizing my web application written in ASP/VB.NET 1.1. I have
number of pages that have dropdown list server controls that contain large number
of items. Before redesigning the data access I would like to try by
saving the view state to the server if this can speed up the access to these
heavy pages. Could somebody give me a working example on saving the viewstate to
the server written in VB.
Thanks
Denis