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
17 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"), ...
2
votes
0answers
60 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
39 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 ...
0
votes
0answers
29 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 ...
0
votes
1answer
58 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 ...
0
votes
1answer
911 views

SharePoint 2013 App Part : Dynamically set values for the tool part panel controls on serverside

How can I dynamically fill a dropdown list in a Tool Part panel of a SharePoint 2013 app part? What I want to achieve: User checks a checkbox Dropdown appears The list items in this dropdown are ...
1
vote
1answer
698 views

Validating custom webpart property set by a custom toolpart?

I'm building a custom web part with a custom toolpart to edit its custom properties. I'm wondering where should I valide the values. I can see two places where I can validate. Either in the ...
0
votes
1answer
558 views

How to add dynamically dropdown for each item I get from a list?

I am working on a custom editor part (WebParts.EditorPart) where I am reading a list, this list provides me with the links to different websites which are attached to a checkbox, so the user can ...
1
vote
0answers
139 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 ...
2
votes
2answers
96 views

Global property for all webparts on a page

Not sure if this is even possible. Is there a way to setup a global property that can be used by all webparts on a page.
1
vote
1answer
2k views

Webpart not refreshing after editing custom properties

I have a webpart with several properties that are part of a custom ToolPart. When i set the properties i would like the webpart to reflect the property changes while still editing after having ...
1
vote
3answers
541 views

Is there a way to have the tool part pane open where the WebPart zone is located?

If you're dealing with a page with many many vertical WebPartZones & WebParts, is there any way to have the ToolPart Pane open next to the WebPart you are editing? Or move up as you scroll up and ...
2
votes
1answer
1k views

How do I set the Default Value of a TextBox ToolPart without using [DefaultValue(“Default Value”)]

Right now I have created a bunch of custom controls in the ToolPart panel and I want to set a default value for one of the text boxes. Obviously I want the value to be editable by the user. I have ...
0
votes
1answer
271 views

Sharepoint Toolpart Event Not Firing

I have created a Sharepoint WebPart, and I have given it a custom ToolPart that includes a Grid (a Telerik RadGrid, to be exact, though that is rather irrelevant). I have populated the grid, and ...
2
votes
1answer
435 views

Sharepoint Toolpart Values Not Being Retrieved

I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart. The problem is when I edit the ...
0
votes
2answers
90 views

MSDN example scenario

I am working with the MSDN example scenario creating creating a custom web part. Can anybody tell me why is it showing the square bottom div below (see in the image). It says "Bottom" and it ...
1
vote
1answer
871 views

How to add a Toolpart in a CustomPropertyToolPart?

In a Webpart I have some customs properties. For the strings, booleans and enums, is all ok, but I have a problem with the selects (comboboxes). To use a select I needed to create a Toolpart that ...
3
votes
1answer
494 views

How to remove the OOB appearance category from the web part tool pane (editor part)?

I am working on developing an (ASP.NET) web part for SharePoint 2010. I have a requirement to not to show the Appearance and Layout category which gets displayed by default in the web part tool pane ...