My problem is that when I try to check a checkbox and refresh the page, the checkbox returns to being uncheck. I am using Sharepoint 2010. i want them to retain values

  • afaik you can't retain values after a refresh, even the ViewState only works for postback. so you'll have to save the value somewhere and set it on the page on load.
    – garglblarg
    May 19, 2016 at 13:50

1 Answer 1


Not sure if this is possible, but the only idea comes to mind is to save values in the ViewState property as explained here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.