SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web part which shows data in one of 3 different formats. The format is selected by clicking one of 3 buttons in the web part. This works fine.

A request has come through to store the last selected state so that the user does not always have to click their favourite view.

It seemed logical to define a Property and define Personalizable(PersonalizationScope.User) but this does not seem to work for most users as they only have Read rights for the page.

What is the best way forward here? Is Sharepoint the right place to store such info or should I be using my own storage?


share|improve this question
up vote 3 down vote accepted

You could also store the last selected state in a cookie. This works for all users including anonymous ones. It is easy to implement and it does not take up any storage on the server.

share|improve this answer
Adding a link or an example might help clarify your answer. – Mauro Feb 4 '11 at 15:31
+1 Thanks - this will do fine! – paul Feb 7 '11 at 7:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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