2

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?

Thanks

1 Answer 1

3

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.

1
  • Adding a link or an example might help clarify your answer.
    – Mauro
    Commented Feb 4, 2011 at 15:31

Your Answer

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

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