Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How to set the custom property(bool) of sharepoint 2010 custom webpart as read Only based on a condition?

share|improve this question
related:… – Mike Dec 10 '12 at 22:02
hi mike - thanks for the link but i am not sure how it is related to it – spStacker Dec 10 '12 at 22:05
I misinterpreted the question there, sorry. – Mike Dec 10 '12 at 22:08
In general you use ReadOnly(true) attribute for the purpose but as you mentioned based on a condition, can you shed some light on it? – Diptarag Dec 11 '12 at 6:59
Hi Diptarang, thanks for the reply - based on other bool property the current property should be read-Only. – spStacker Dec 12 '12 at 19:39

Your Answer


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

Browse other questions tagged or ask your own question.