Here you can find nice explanation and sample of the concept of sitefinity widgets(controls) and designers :
You need to do following steps:
1) inherit ImageControl
(just empty class, lets say NewImageControl
2) Inherit ImageSelectorDesignerView
) and implement specific logic you need there.
3) Inherit ImageSettingsDesigner
) and override method AddViews
(that will allow to add your customized designer NewImageSelectorDesignerView ) like this:
protected override void AddViews(Dictionary<string, ControlDesignerView> views)
var insertImageViewSettings = new UploadImageDesignerView();
var imageSelector = new NewImageSelectorDesignerView
4) On the top of NewImageControl
class place ControlDesigner attribute, providing the type of the designer as an argument, like this: [ControlDesigner(typeof(NewImageSettingsDesigner
5) Replace at configuration standard image control with you customized NewImageControl(see attached screenshot).
Let us know if you find any issues with configuring your custom designer!
All the best,
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items