Questions tagged [toolpart]
6 questions
2
votes
1 answer
Programmatically set Toolpart layout
I am following this tutorial for creating a tool part: http://www.dhirajranka.com/?p=420
What I still have to understand is how to:
1) add a title to the custom tool part
2) adjust the various components (buttons dropdown lists etc)
I have been…

user1211929
- 1,190
- 1
- 12
- 32
1
vote
1 answer
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 created a GridButtonColumn object to add to the grid:…

splatto
- 3,159
- 6
- 36
- 69
1
vote
1 answer
Create SharePoint (2010) ToolPart usable for more than one WebPart
I am using the basic instructions (here) for creating a property driven by a custom ToolPart.
All is good, except for the part where, in order to access the webpart property within the ApplyChanges method I must cast the…

Nat
- 14,175
- 5
- 41
- 64
1
vote
0 answers
SharePoint 2007 public override ToolPart[] GetToolParts() bug?
In this Custom Content Query Web Part the following code works. I'm able to change the Web Part title and the ToolPart Title:
public class CustomWebPart1 : ContentByQueryWebPart
{
public override ToolPart[] GetToolParts()
{
…

Juan Carlos Puerto
- 2,632
- 1
- 26
- 22
0
votes
3 answers
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 webpart - the panel pops up but the control I added is…

splatto
- 3,159
- 6
- 36
- 69
0
votes
1 answer
Sharepoint 2013: How to add custom tool part
I have a web part containing a repeater control which display the announcements. I want to make a custom tool part which enables a user to limit the number of rows of repeater. I have created a text box that takes the number of news to display as an…

user1584253
- 975
- 2
- 18
- 55