I have created Custom property for string and drop down list .
Currently I'm trying to create radio button custom web part property.
Custom property name will be City
2 radio button will be
- Las vegas
- New york
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
You cannot create Radio Button type property directly as Custom Web part property.
The supported types are:
But here is a trick to do that. Because every WebPart Property have radio button in it.
So just overwrite the
GetToolParts() and prepare your custom.
Detail steps are given at Create rich web part properties controls using custom tool parts with a complete example code