SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
    
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

 
discard

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

Browse other questions tagged or ask your own question.