or
Hi,
I'm attempting to show the end user some feedback on the items they've checked in a combobox and I want to send the checkedItems to a ListBox underneath showing what the user has checked. I'm having no luck with what I am trying.
Something like this:
ListBox1.Items.Add(ComboBox.CheckedItems.ToString());
<telerik:RadComboBox ID="rcbDaysOfWeek" runat="server" Width="150px" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" EmptyMessage="No day selected"> <Localization AllItemsCheckedString="All days" CheckAllString="Select all" /> <Items> <telerik:RadComboBoxItem Text="Monday" Value="1" Checked="true" /> <telerik:RadComboBoxItem Text="Tuesday" Value="2" Checked="true" /> <telerik:RadComboBoxItem Text="Wednesday" Value="3" Checked="true" /> <telerik:RadComboBoxItem Text="Thursday" Value="4" Checked="true" /> <telerik:RadComboBoxItem Text="Friday" Value="5" Checked="true" /> <telerik:RadComboBoxItem Text="Saturday" Value="6" Checked="true" /> <telerik:RadComboBoxItem Text="Sunday" Value="7" Checked="true" /> </Items></telerik:RadComboBox> var tabPanel = new RadTabStrip(); tabPanel.OnClientTabSelected = "onTabSelected"; var newTab = new RadTab() {Text = "All", Selected = true}; newTab.Attributes["type"] = "0"; tabPanel.Tabs.Add(newTab);........ foreach (var department in deparmentsDt) { var newTab = new RadTab() {Text = department.strDepartmentGroup_Name}; newTab.Attributes["type"] = department.intDepartmentGroup_ID.ToString(); tabPanel.Tabs.Add(newTab); }function onTabSelected(sender, args) { var tab = args.get_tab(); var attr = tab.get_attributes(); alert(attr.get_count()+" - " +attr.getAttribute("type") + " - " + tab.get_text());}

<telerik:RadComboBox ID="PositionRCB" Runat="server" OnClientItemsRequesting="onItemsRequesting" DataSourceID="PositionDS" DataTextField="Info" DataValueField="PK" MarkFirstMatch="True" Width="125px" ShowToggleImage="True" Filter="Contains" EnableAutomaticLoadOnDemand="True" ItemsPerRequest="15"></telerik:RadComboBox><script type="text/javascript"> function onItemsRequesting(sender, eventArgs) { var positionText = eventArgs.get_text(); document.getElementById("<%= HiddenTB_Position.ClientID %>").value = positionText }</script> <asp:TextBox ID="HiddenTB_Position" runat="server" Text="Grot"></asp:TextBox><asp:SqlDataSource ID="PositionDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseCargoMM1 %>" SelectCommand="usp_PickCity" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:ControlParameter ControlID="HiddenTB_Position" PropertyName="Text" Type="String" Name="Param1" /> </SelectParameters></asp:SqlDataSource>