LoadPageStateFromPersistenceMedium not loading when ajax postback

E

Eric

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

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top