Top "Viewstate" questions

ViewState is the mechanism that allows form field values to be preserved across page postbacks.

Invalid length for a Base-64 char array

As the title says, I am getting: Invalid length for a Base-64 char array. I have read about this problem …

c# asp.net viewstate base64
What is the difference between SessionState and ViewState?

What is the difference between SessionState and ViewState in ASP.NET?

asp.net session-state viewstate
What causing this "Invalid length for a Base-64 char array"

I have very little to go on here. I can't reproduce this locally, but when users get the error I …

.net asp.net exception viewstate
Asp.net Validation of viewstate MAC failed

I am receiving the following error at certain times on asp.net website. Sys.WebForms.PageRequestManagerServerErrorException: Validation of viewstate MAC …

asp.net viewstate machinekey
How to decode viewstate

I need to see the contents of the viewstate of an asp.net page. I looked for a viewstate decoder, …

asp.net viewstate
How to access viewstate using javascript?

I am trying to access view-state in client side but following exception coming : JAVASCRIPT: <script language="javascript" type="text/…

javascript asp.net viewstate
Advantages of Cache vs Session

What is the difference between storing a datatable in Session vs Cache? What are the advantages and disadvantages? So, if …

c# asp.net session caching viewstate
ASP.NET CheckBox does not fire CheckedChanged event when unchecking

I have a CheckBox on an ASP.NET Content Form like so: <asp:CheckBox runat="server" ID="chkTest" AutoPostBack="…

asp.net viewstate
Validation of viewstate MAC failed

Possible Duplicate: Setting ViewStateUserKey gives me a “Validation of viewstate MAC failed” error I have applied the solutions of the …

asp.net viewstate
ViewState Vs Session ... maintaining object through page lifecycle

Can someone please explain the difference between ViewState and Session? More specifically, I'd like to know the best way to …

c# .net session viewstate global-scope