Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.