The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
433 views

Adding Rows Dynamically to GridView on Button Click

I am trying to add rows to my GridView dynamically. I followed many blogs on this site and have been successful at doing that. Although there is one Issue. Each time I load my page it posts back and ...
0
votes
0answers
177 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 ...
0
votes
0answers
282 views

Failed to load viewstate error in SharePoint

I will make an attempt to describe the scenario.. I am not sure from where to start to solve this issue... We are using ajax control toolkit accordian. The contents of the tab is formview with ...
0
votes
0answers
163 views

Web Part Storing Persistent Variable (ViewState/Session?)

I am developing a custom SharePoint 2010 Web Part (not visual) in C#. I need the ability to maintain persistent variables (selected value of a drop down list for example) across postbacks but have it ...
0
votes
0answers
16 views

Changing Classname throws Viewstate-Error

I have to write a small application within an aspx-file on a foreign machine. To have the right references etc. I took an aspx-page which is already working and only has a few differences to the ...
0
votes
1answer
1k 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
52 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 ...
1
vote
0answers
195 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
1answer
4k views

Viewstate to keep data after postback

[Personalizable(PersonalizationScope.Shared)] [WebPartStorage(Storage.Shared)] public List<searchResult> lsQtys { get { List<searchResult> ...
1
vote
3answers
560 views

Is ist possible to share viewstate properties between webparts?

I have a class "Wepart A" and a class "Webpart B" which have some similiarities. So I introduced a BaseWebpart from which A and B inherit. I want to share 2 properties (SortColumn and SortDirection) ...
1
vote
3answers
5k views

Sharepoint 2010 and Saving variables in VIEWSTATE

UPDATE1 I tried with EnableViewState in Page directive: but no avail. End I am running as a usercontrol in sharepoint. (using SmartPart) Everything's fine. Just the Viewstate-Variables! The ...
2
votes
1answer
207 views

ViewState across servers in a SharePoint Farm

When a new server is added to a farm will SharePoint automatically synchronise the machine key such that view state will work across the farm, or is a manual operation required?