Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [viewstate]

The tag has no usage guidance.

1
vote
1answer
193 views

enabling viewstate in webparts

I am using viewstate in my webparts ViewState["CurrentPageNo"] = 22; But this is not working on my production environment as enableview state is false in web.config. How can we enable it on ...
0
votes
1answer
2k views

Errors with ViewState Cache and Update Panel

We have an application page that stores some information in the view state, and uses UpdatePanels. We have a rare, intermittent bug that occurs in SharePoint 2013 only whereby sometimes, after a ...
0
votes
1answer
76 views

Web Part not saving content

I developed a Web Part that shows a Modal dialog. An iframe is returned from that dialog and with javascript, pasted into a div on the web part. This is rendered and everything works fine but it does ...
3
votes
0answers
187 views

Viewstate expires after some time for application page in SharePoint 2013?

I have a simple ASP application page added in a SharePoint project just for presentation purposes, so it's ASP web forms page is hosted in SharePoint. HTML: <asp:Content ID="Main" ...
1
vote
0answers
221 views

How to create custom property which will not be lost after post back of custom control?

I have a custom control that inherits from PeopleEditor in my WebPart. In the custom control I have a custom property: public string MyProperty { get { ...
0
votes
0answers
630 views

Filtering on managed metadata columns in the insert link from SharePoint view throws invalid viewstate error

I've seen this error before in SharePoint 2010 and now in SharePoint 2013 (w/SP1), and it should be pretty straightforward to reproduce using the following steps: Create a document library Add one or ...