I need to use a code like this:
Combobox with templates
But how can i populate it manually with data?
Combobox with templates
But how can i populate it manually with data?
<telerik:RadComboBox ID="cmbVobo" runat="server" |
EmptyMessage="-- All --" HighlightTemplatedItems="true" |
AllowCustomText="true" Width="80px" OnClientDropDownClosed="onDropDownClosingV"> |
<ItemTemplate> |
<div onclick="StopPropagation(event)" class="combo-item-template"> |
<asp:CheckBox runat="server" ID="chk1" onclick="onCheckBoxClickU(this)" Checked="true"/> |
<asp:Label runat="server" ID="Label1" AssociatedControlID="chk1"> |
<%# Eval("Text")%> |
</asp:Label> |
</div> |
</ItemTemplate> |
<Items> |
<telerik:RadComboBoxItem Text="No" Value="0" /> |
<telerik:RadComboBoxItem Text="Yes" Value="1" /> |
</Items> |
</telerik:RadComboBox> |