tags:

views:

402

answers:

2

We are using an ASP.NET (2.0) Wizard control where on each wizard step the user fills in a few fields.

We have found that sometimes for some odd reason the value of the fields in previously filled steps is lost when "postbacking" to another step.

This problem seems to occur randomly; sometimes some of the field values are retained and others are lost.

The EnableViewState is true for the Page and all controls.

What are we overlooking?

A: 

a similar problem has been posted here

Konstantinos
Not really. That article discusses a problem when the browser back button is pressed. Our problem is even if the Wizards own navigation is used.
CB
A: 

I had the same problem and realized that setting displaysidebar="false" removed the viewstate. Reinstating the sidebar had viewstate working again.

Does anyone know why hiding the sidebar causes the viewstate to disappear?