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

I have a custom web part in SharePoint 2010. It has a content editor part implemented.Content Editor part has following properties say Choice : choice1,choice2.....choice5 these are checkboxes. Choice is a enum and checkbox collection has been created from this enum that is displayed in editor part.

I am trying to access this web part in an another project and trying to set the "Choice" check boxes but not sure how to do that. Where "Choice" is a webbrowseable property of the custom webpart.

Please let me know if I am not very much clear about the problem.

P.S I am looking for a solution that doesn't need any code changes in my custom web part.

Many thanks


share|improve this question
I'm not sure what's your problem. Are you retriving the web part from somewhere using SPLimitedWebPartManager or how do you "access" it? – Per Jakobsen Jun 21 '12 at 9:49
Well I am trying to create a page dynamically and adding a custom web part on that page.this is all in the same site. – V.B Jun 22 '12 at 5:56

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.