Hi,
Im trying to build a combo box that will allow multiple selections. My issue is that when i build the checkboxes i can't get to bind text against each checkbox. it comes up empty. is this the correct way to achieve what i want ?
Thanks
<radc:RadComboBox runat="server" ID="RadComboBox1" HighlightTemplatedItems="true" >
<Items>
<radc:RadComboBoxItem Text="One" Value="1" />
<radc:RadComboBoxItem Text="Two" Value="2"/>
<radc:RadComboBoxItem Text="Three" Value="3"/>
</Items>
<ItemTemplate>
<asp:CheckBox runat="server" ID="CheckBox" Text=""/>
<span><%# DataBinder.Eval(Container, "Text") %></span>
</ItemTemplate>
</radc:RadComboBox>
Im trying to build a combo box that will allow multiple selections. My issue is that when i build the checkboxes i can't get to bind text against each checkbox. it comes up empty. is this the correct way to achieve what i want ?
Thanks
<radc:RadComboBox runat="server" ID="RadComboBox1" HighlightTemplatedItems="true" >
<Items>
<radc:RadComboBoxItem Text="One" Value="1" />
<radc:RadComboBoxItem Text="Two" Value="2"/>
<radc:RadComboBoxItem Text="Three" Value="3"/>
</Items>
<ItemTemplate>
<asp:CheckBox runat="server" ID="CheckBox" Text=""/>
<span><%# DataBinder.Eval(Container, "Text") %></span>
</ItemTemplate>
</radc:RadComboBox>