【问题标题】:Rad combo box multi select checkboxes text?Rad组合框多选复选框文本?
【发布时间】:2015-10-29 21:10:14
【问题描述】:

我在我的 rad 网格编辑表单模板中使用以下 rad 组合框:

<telerik:RadComboBox ID="rcmbGroundPlan" runat="server" CheckBoxes="true"   Text='<%# Bind("Fd_Groundplan") %>'  Width="250">
                                                <Items>
                                                <telerik:RadComboBoxItem Text="H" /> 
                                                <telerik:RadComboBoxItem Text="U" />
                                                <telerik:RadComboBoxItem Text="T" />
                                                <telerik:RadComboBoxItem Text="L" />
                                                <telerik:RadComboBoxItem Text="cruciform" />
                                                <telerik:RadComboBoxItem Text="T" />                                            
                                                </Items>
    </telerik:RadComboBox>

我正在使用 rad 网格 AllowAutomaticUpdates="True",只要 radcombox 的宽度为 650 px,一切正常。但是,如果我减小宽度并且选中的复选框更多,则文本会更改为选中的项目数,例如选中的 3 个项目或选中的 4 个项目,并且此字符串将被插入到我的数据库中,而不是实际选中的项目。我怎样才能避免这种情况。我是否必须始终增加我的 rad 组合框宽度。请指导。

【问题讨论】:

    标签: asp.net radgrid radcombobox


    【解决方案1】:

    使用 rad 组合框的以下属性 CheckedItemsTexts="DisplayAllInInput" 我能够得到我想要的解决方案。

    【讨论】:

      猜你喜欢
      • 2012-09-12
      • 2018-07-07
      • 1970-01-01
      • 2020-11-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-28
      相关资源
      最近更新 更多