I have the following code in a webpart I am developing.
WebBrowsable(true),
Category("Data"),
WebDisplayName("Banks"),
WebDescription("Banks"),
Personalizable(PersonalizationScope.Shared)]
public string BankNames { get; set; }
When editing the "Shared Webpart Properties", it shows up fine in the "Data" section as shown. However, it has the serious limitation that you can only enter a single (although very long) line of text, as the field is shown as an <input type='text'>
element.
Is there any way to make it show up like a <textarea>
element, or have a [...] button next to it that will allow people to open a pop-up editor to allow multi-line text?
I am aware that you can create a ToolPart class, but I don't want a special area where the fields are shown and have to be rendered manually - for what I need, it seems like a total overkill.
I am using SharePoint 2007 - is there any simple way to do this?