ascript在radcombobox的itemtemplate

ascript在radcombobox的itemtemplate

本文介绍了如何使用javascript在radcombobox的itemtemplate中找到控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上在我的radcomboboxe项目模板中我有复选框,linkbutton for link按钮我绑定用户如果我选中特定用户的复选框我应该在combobox中获取用户的名字这里我的问题有多少我通过复选框选择的用户应该显示在combobox.below是我的代码



Actually in my radcomboboxe item template i am having the check box,linkbutton for link button i am binding the users if i check the check box of the particular user i should get the name of the user in combobox here my problem how many users i selected through checkbox it should display in combobox.below is my code

<telerik:RadComboBox ID="rdPhysicianscmb" runat="server" Width="75%"

                                               DataSourceID="sdsAttachedUsers"  Filter="Contains" Font-Size="14pt"

                                               onitemdatabound="rdPhysicianscmb_ItemDataBound" LoadingMessage="Loading..." EmptyMessage="">
                                     <ItemTemplate>
                                           <asp:CheckBox ID="chk" runat="server" />
                                           <asp:LinkButton ID="lblphyname" runat="server"  CommandName="Selected"    ForeColor="#0489B5" Font-Size="11pt"

                                       CommandArgument='<%# Eval("AssignedTo") %>'  onclick="lblphyname_Click" Text='<%# Eval("UserID") %>' Font-Underline="false" Font-Overline="false">
                                        </asp:LinkButton>

                                               </ItemTemplate>
                                    </telerik:RadComboBox>

推荐答案


这篇关于如何使用javascript在radcombobox的itemtemplate中找到控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 21:25