Udostępnij za pośrednictwem


Override SaveViewState Custom Controls - Cautious

Be cautious when you Override SaveViewState during Custom Control development.

The SaveViewState is called on Page Load and all Post Backs, irrespective of whether the property

backed by the viewstate is modified programatically or at runtime.

It could cost you heavily if the Page has a lot of viewstate backed properties..