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
0answers
19 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
30 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
663 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 ...
0
votes
0answers
40 views

Configure a Web Parts Custom Toolpart from a Feature

I am trying to figure out how to even word this question to get helpful search results in google. I made a custom tool part that is associated with a custom web part. Everything works fine with the ...
1
vote
1answer
459 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
470 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
123 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
90 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
1k 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
469 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
739 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
245 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
337 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
85 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
741 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
459 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 ...