Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Widget for image slider using form control to select multiple images View modes: 
User avatar
Member
Member
bdrenner-new42 - 8/15/2013 4:03:20 PM
   
Widget for image slider using form control to select multiple images
I would like to make a widget that will render the HTML for an image slider. Its main property needs to be a set of images that the designer selects, ideally from the media library. It could alternatively be a set of image uploads (with no limit to the number of images uploaded), or at worst, a folder in the content tree that contains the images to be used.

I can't find any multiple-file-selection form controls built-in, so it looks like I'm going to have to roll my own form control. It would be nice to reuse the web part that lets you select a single file from the media library. However, the more I dig into this, the deeper the rabbit hole goes.

Does anyone have experience building a multiple-file-selector form control? I'm surprised there's not something publicly available. Any advice or leads would be much appreciated.

Bryan

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/16/2013 3:00:22 AM
   
RE:Widget for image slider using form control to select multiple images
Hello Bryan,

There is a built-in Document attachments control form control which enables you to choose multiple files from your PC at once so you can take inspiration for building your custom form control in its source code file - ~\CMSFormControls\Basic\DocumentAttachmentsControl.ascx.cs.

Unfortunately there is no out-of-the-box form control which allows you to choose multiple files from media library.

Best regards,
Filip Ligac