List items in dropdown in a module?

Posted by Community Admin on 04-Aug-2018 14:55

List items in dropdown in a module?

All Replies

Posted by Community Admin on 23-Oct-2011 00:00

Hello,

I know how can we add a drop down from a taxonomy in our custom module. But can we have a dropdown field in our custom module that shows items from another modules items (not from taxonomy)?

Posted by Community Admin on 26-Oct-2011 00:00

Hello Saad,

 You can bind the Choices collection of the Multiple Choice field to a custom collection that you could get through your custom module's API. It can be done the same way that the TaxonomyDropDown field is implemented in our Products Module - you should inherit from ChoiceField, override the Configure method, bind the Choices collection to the collection that you have get through your custom module's managers, touch the client-side script and use your field.

Regards,
Svetoslav Petsov
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

This thread is closed