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
0 answers
34 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() ...
Sarika Koli's user avatar
2 votes
1 answer
47 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.
Sarika Koli's user avatar
0 votes
1 answer
463 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), ...
WantToDo's user avatar
  • 196
0 votes
1 answer
54 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"), ...
wirble's user avatar
  • 58
2 votes
0 answers
218 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 ...
Mx.'s user avatar
  • 3,323
1 vote
1 answer
91 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 ...
Tim's user avatar
  • 11
0 votes
1 answer
105 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 ...
Vishal_Sharepoint's user avatar
1 vote
1 answer
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 ...
anpatel's user avatar
  • 385
1 vote
1 answer
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 ...
Steve B's user avatar
  • 7,486
1 vote
1 answer
1k 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 ...
Sinuhe Bravo's user avatar
1 vote
0 answers
198 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 ...
Serhiy's user avatar
  • 379
2 votes
2 answers
115 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.
MikeC's user avatar
  • 1,112
1 vote
1 answer
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 ...
MikeC's user avatar
  • 1,112
1 vote
3 answers
852 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 ...
MyName's user avatar
  • 147
2 votes
1 answer
5k 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 ...
MyName's user avatar
  • 147
0 votes
1 answer
333 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 ...
splatto's user avatar
  • 135
2 votes
1 answer
501 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 ...
splatto's user avatar
  • 135
0 votes
2 answers
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 ...
Nick Kahn's user avatar
  • 531
1 vote
1 answer
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 ...
user674887's user avatar
3 votes
1 answer
577 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 (...
Vivek's user avatar
  • 53