ComboBox checkitems as asp control parameter

2 posts, 0 answers
  1. zx10r
    zx10r avatar
    14 posts
    Member since:
    Jul 2016

    Posted 08 Apr 2017 Link to this post

    Is there a way to specify a property from the combo box setup with check items to be passed to a control parameter property?

    <asp:ControlParameter ControlID="cmbProviderSort" DbType="Int32" ConvertEmptyStringToNull="true" DefaultValue="-1" PropertyName="SelectedValue" Name="a" />


    PropertyName is set as SelectedValue which will only work with a non checkbox combo box. What is the best approach to be able to send in all checked items into the asp:ControlParameter.


    I have to use the DataSource setup in this way and cannot do it in the code behind. Thanks

  2. Eyup
    Eyup avatar
    3918 posts

    Posted 12 Apr 2017 Link to this post


    You can try using the Text property, which will return all checked item contents separated by commas, as displayed in the combo itself.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top