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

There is a custom web part (let's call it WebPartA) and custom Tool Part for it. We need to inherit from this web part and extend it with two integer properties (WebPartB). And add default controls for editing these properties (like text boxes).

Is there a way to do this withot modifying/extending custom tool part?

Right now custom tool part generates controls only for WebPartA's properties. We've added two properties to the WebPartB and marked them with attributes:

 Category("Slider Settings"),
 WebDescription("Please enter SomeProperty")]
public Int32 SomeProperty { get; set; }

But these properties doesn't appear on the web part editor.

share|improve this question

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.