Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Storing Variables in Viewstate

$
0
0

Hi All,

I would like to store and retrieve a string through ViewState.  It appears that I can successfully do this by storing data in Page.Session, but I cannot seem to store anything in ViewState.  When debugging the variable consistently reverts to null. I have checked the web.config and ViewState is enabled.  I have reviewed this link, but I am still unable to get anything to work.  

Can anyone please help me?  An example would be awesome.

Thanks,

MK


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>