I have custom webpart properties for a visual webpart. This thread helped me develop the custom webpart properties.

Now my issue is once a user sets the custom property it gets applied for all users, i want to limit it to user preference hence it should be different for every login.

How to set webpart property different for every login. Kindly help.


Try setting PersonalizationScope.User on the property

public string MyProperty { get; set; }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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