New answers tagged custom-web-part-property
Robert's answer is correct if you are building a SharePoint Web Part (i.e. one from Microsoft.SharePoint.WebPartPages). If you are building an ASP.NET Web Part (i.e. one from System.Web.UI.WebControls.WebParts) then you need to build a custom EditorPart, not a custom ToolPart. The code is very similar to what Robert has shown. I cover this in Advanced ...
Top 50 recent answers are included