I built a custom control that acts as a wizard and contains other controls within it. I built and tested the control using a blank asp.net webform page and everything was working perfectly. I add the control to a page in SiteFinity and it seems like there is no viewstate. Nothing is saved or reloaded. The page has a huge viewstate blob in page source but when I watch the traffic using fiddler, the _viewstate is sent as empty. The control i build has an update panel.
What's the deal? I've tried to change where I handle things in the life cycle but nothing helps. I'm pretty sure its a viewstate issue. What's going on? How can I get the viewstate to post without doing a full post back?
Yes, I enabled viewstate on the page and the control through sitefinity and I set viewstate enabled for my control and all sub controls.
UPDATE: This issue has been resolved as of Sitefinity 4.1. For further problems don't hesitate to contact me or write in our forums.
There's nothing wrong you are doing in the implementation of your control. The issue you describe is a broader problem with handling ViewState in Sitefinity pages, and other people in the Sitefinity community have also reported it. We have been working on it for a while, but it turned out to be not as trivial to fix as we expected. Unfortunately I cannot currently offer a workaround. I'm sorry.
I can assure you, though, that our senior developers are working hard on resolving this. We'll do everything we can to ship a fix for our next Q1 release.
Sincerely,
Slavo
The Sitefinity Team @ Telerik