Module Builder - Programmatically retrieve dropdown items fr

Posted by Community Admin on 04-Aug-2018 15:29

Module Builder - Programmatically retrieve dropdown items from Choice field type

All Replies

Posted by Community Admin on 09-Mar-2012 00:00

I created a module that contains a custom field of type Choice. I am building a Widget that contains a form which saves data to the module. I'd like the dropdown in the widget to contain the same choices that were added to the custom field. Is this possible?

Posted by Community Admin on 14-Mar-2012 00:00

Hello David,

 Since once the Choice Field's Choices collection has been populated by you, you won't be able to change it, then why don't you directly hardcode the same values into your widget's dropdown? There is no need to dynamically populated these items each time the widget loads, as they will remain the same.

Greetings,
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