简体   繁体   English

Rad组合框多选复选框文本?

[英]Rad combo box multi select checkboxes text?

I am using the following rad combobox in my rad grid edit form template: 我在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>

I am using rad grid AllowAutomaticUpdates="True" and everything works fine as long as the width of the radcombox is 650 px. 我正在使用rad网格AllowAutomaticUpdates =“ True”,只要radcombox的宽度为650 px,一切都可以正常工作。 But if I reduce the width and the selected checkboxes are more, the text changes to number of items checked like 3 items checked or 4 items checked and this string is being inserted to my db instead of the actual selected items. 但是,如果我减小宽度,并且选中的复选框更多,则文本将变为选中的项目数,如选中的3个项目或选中的4个项目,并且此字符串将插入到我的数据库中,而不是实际选中的项目。 How can I avoid this. 我如何避免这种情况。 Do i have to always keep on increasing my rad combo box width. 我是否必须始终保持增加rad组合框的宽度。 Please guide. 请指导。

使用rad组合框CheckedItemsTexts =“ DisplayAllInInput”的以下属性,我可以获得所需的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM