views:

123

answers:

3

I have a check box in the webform; it is not retain its state when i click in the back button and again comeback the page using next button.

A: 

Make sure you have ViewStateEnabled=true on the checkbox.

Robban
A: 

You might be setting the value at page load

Sergio
A: 

Try breakpointing the first asp.net event fired and see what the value of the checkbox is then. If it's what it should be then something else is changing it, if it isn't then you're right, it isn't maintaining state.

Stephen lacy