ToolPart defines custom tool parts that display a customized user interface for defining the properties of a Web Part inside of the tool pane. Custom property changes can be set by overriding SyncChanges() and ApplyChanges() methods of ToolPart.

learn more… | top users | synonyms

0
votes
1answer
30 views

Permission scope when over riding toolpart

When adding properties to a webpart, we add attributes such as: [WebBrowsable(true), WebDisplayName("Page Title"), WebDescription("Title displayed on the page"), Category("Test Properties"), ...
0
votes
1answer
69 views

Custom Tool Part Validation

I have created custom tool part. I want to validate tool part control. I need functionality that validate control and if i click on "OK" Button then if validation fire then tool part must be open ...
2
votes
0answers
77 views

WebPart toolpart changes PeoplePicker output

I have a strange behavior when using a peoplepicker field in a page layout. When I open the toolpart for a webpart, the field's content is rendered diffrent: Normal With toolpart The ...
1
vote
0answers
43 views

Return value from modal dialog (application page) to toolpart

I have a Webpart with an ToolPart. In this ToolPart I open an ModalDialog displaying a List. When pressing Submit-Button or something like this, in the ModalDialog, I want to return a String to the ...
1
vote
0answers
143 views

inheriting from WebPart with custom ToolPart

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 ...
0
votes
0answers
44 views

Pass Content Query Web Part ToolPart TextBox Value to XSL

I have extended the Content Query Web Part by adding a textbox control ToolPart. This is working, i.e. I am able to see the control, add a value in the textbox and save it. Is it possible to pass ...
0
votes
0answers
34 views

How to create WebPart configuration page

I want to make my WebPart configurable by the configuration page, instead of standard toolpart. What I want to achieve, is that after opening the standard configuration of the webpart (Edit Page=>Edit ...