![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
I've created a WebPart, as a page using the designer, I'm looking at making it personalizable, and ran across these attributes: [Personalizable(), WebBrowsable, WebDisplayName("My Display Name")] all of which works great, making the properties available through a standard PropertyGridEditorPart. The WebBrowsable attribute makes it visible just fine; But I notice it uses the data type of the property to determine what type of control to display: bool gets a checkbox, string gets a free-form text box. Is there a way to display a list of available string choices in a list, without creating a personlization control? Something like a comma-separated list of values in an attribute I don't know about? Just looking for the easy way to do this. I can always read up on creating my own control if needed; I've seen the examples. Thanks for any ideas. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |