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

  • related: sharepoint.stackexchange.com/questions/12731/… – 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.