Results 1 to 4 of 4

Thread: How to Completely Remove Viewstate in your ASP.NET page

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    How to Completely Remove Viewstate in your ASP.NET page

    VB Code:
    1. Protected Overrides Sub SavePageStateToPersistenceMedium(ByVal viewState As Object)
    2.  
    3.  
    4.  
    5.     End Sub
    6.  
    7.     Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object
    8.         Return Nothing
    9.  
    10.     End Function
    11.  
    12.     Protected Overrides Function SaveViewState() As Object
    13.  
    14.         Return Nothing
    15.  
    16.     End Function
    Last edited by mendhak; Jun 23rd, 2008 at 01:59 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width