Hello!
I was just playing with overriding the LoadViewState method to learn more
about viewstate's when I found a very strange thing... I have a control
that inherits from System.Web.UI.W ebControls.Text Box and in that control I
override LoadViewState to do nothing, I also override SaveViewState to just
return a new object.
But when I use this control on a page it still saves and loads viewstate...
how is this possible ? I never call the base implementation of the methods
but still they seem to execute... ?!?
Thanks
// Mikael Janers
I was just playing with overriding the LoadViewState method to learn more
about viewstate's when I found a very strange thing... I have a control
that inherits from System.Web.UI.W ebControls.Text Box and in that control I
override LoadViewState to do nothing, I also override SaveViewState to just
return a new object.
But when I use this control on a page it still saves and loads viewstate...
how is this possible ? I never call the base implementation of the methods
but still they seem to execute... ?!?
Thanks
// Mikael Janers