LoadViewState never called after postback

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,

I have overrided the LoadViewState function in my
webform. However when the page postsback the function is
never called. Here is how I overrided it.

Protected Overloads Sub LoadViewState(ByVal SavedState As
Object)
Response.Write("LWS: " & ViewState("Stores"))
CreateColumns()
MyBase.LoadViewState(SavedState)
End Sub

Is there anything wrong with this small code?

Thanks

.