Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
The MultiImageFieldElement is not meant for generic content based modules. It is used in the eCommerce module and has a number of prerequisites that have to be implemented in the data provider and the web service for managing your items.
An easier approach is to create a text type field and store image IDs in it. You can use RadGridClientBinder for the backend interface and populate image IDs in a string field.
You can try developing such a control using this blog post:
If you need further assistance, you can get back to me.
I made a multi image selector field control for you. Here's the general idea: This is a field control that inherits from TextField. In the template of the field I have added a few controls, one of which is a Grid that uses a GridBinder to get images through our Content service and bind them to the Grid. In the textbox of the field, I am keeping an array of the GUIDs of all images that are added. What I change when deleting/adding a new image is just the FilterExpression of the GridBinder which is used to filter the images that are returned by the content service. It's a bit complicated, so if you have any questions, feel free to ask (or if you find any bugs). In order to install the control, add a reference to the assembly of the control, then add a VirtualPath, using the VirtualPathProvider so that the embedded templates/scripts can be loaded from the control's assembly. The Virtual Path that should be registered is ~/Ctrls/* (check the screenshot to see how to add it):
Next, go to CustomFields (for News for example) and add a field of type LongText, specify a title that you wish and add a CustomWidget for displaying data of type: Controls.ImageSelector:
Hope the control suits your needs. Best wishes, Svetoslav Petsov the Telerik team