LoadPageStateFromPersistenceMedium not loading when ajax postback

This is huge issue im dealing with and it pertains only to ajax calls.
When I do ajax post call from client and page is supposed to
load viewstate with overriden LoadPageStateFromPersistenceMedium - it never fires.
Something stops it from executing. I tried registering hidden fields __VIEWSTATE etc.
Nothing worked. I know that page init manager somehow checks for viewstate but apparently
it fails. My problem would be fixed if I knew how to manually simulate LoadPageStateFromPersistenceMedium method
but it is kind of very complicated. Is there an easy elegant way to load a viewstate from saved before
using SavePageStateToPersistenceMedium viewstate? LoadViewstate is for single control and it won't work.
That would be super helpful for dealing and controling viewstates combined with ajax.
Thanks

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!