Questions tagged [toolpart]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

using Tool part how to set multiple value to List property of web part?

In Tool part I create check Box List property.I want to set this property web part but its not work.for single value its work but I want to set multiple values. public override void ApplyChanges() ...
2
votes
1answer
39 views

Custom ToolPart is not Display in Custom Properties section with styling

I create custom toolpart in custom webpart that tool property bind data in dropdown list.but is not display properly.. It look like below but I want to display this Custom categories with "+" button.
0
votes
1answer
382 views

How to set Order categories of custom toolpart

I Created Custom WebPart Property for SharePoint Visual WebPart with this code (here - full code) [WebBrowsable(true), WebDisplayName("Project ID"), Personalizable(PersonalizationScope.Shared), ...
0
votes
1answer
49 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
204 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 markup ...
1
vote
1answer
86 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
1answer
104 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 ...
1
vote
1answer
2k 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
1k 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 ...
1
vote
1answer
887 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
194 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
113 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
3k 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
824 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
4k 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
326 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
495 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
108 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
1k 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
567 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 (...