More in this section

Forums / Developing with Sitefinity / multiple selection in admin control templates

multiple selection in admin control templates

2 posts, 0 answered
  1. Levi Burton
    Levi Burton avatar
    11 posts
    16 Apr 2010
    18 Aug 2010
    Link to this post
    I have a metafield in my admin control template that can accept multiple values.  I plan on storing the value as a string of values separated by semicolons.  The problem I'm having though is that I am unsure what kind of control I could use to achieve this functionality.  My first thought is to use a checkbox control.  I think I can save my selected values by creating a new web user control that inherits from ITextControl and overriding the Text property, but I'm unsure how to populate the control when the control template is loaded.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    19 Aug 2010
    Link to this post
    Hello Levi Burton,

    Inside your control you can override CreateChildControls or InitializeControls and bind the CheckBoxList.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered