function employeePickerOnSuccessCallBack(employeeInfo) { var listbox = $find(<%= RadListBox1.ClientId %>); listbox.trackChanges(); var item = new window.Telerik.Web.UI.RadListBoxItem(); item.set_text(employeeInfo.name); item.set_value(employeeInfo.value); listbox.get_items().add(item); if (!employeeInfo.IsActive) { var liElement = item.get_element(); $(liElement).addClass("inactive"); } listbox.commitChanges();}I'm trying to implement dual listbox functionality that is nearly identical to the AJAX version of the code sample provided by Telerik:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/dual-listbox-functionality.aspx
However, I need to be able to select multiple rows to move between the two listboxes instead of one at a time as the sample does.
If I set AllowMultiRowSelection = true for both grids and then attempt to move all items form one grid to the other, I get a JavaScript error.:
Line: 4083 Error: Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: elementThe file that is throwing the error appears to be a Microsoft AJAX related scripting file:
// Name: MicrosoftAjax.debug.js // Assembly: System.Web.Extensions // Version: 4.0.0.0 // FileVersion: 4.0.30319.225 //----------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------- // MicrosoftAjax.js // Microsoft AJAX Framework.It appears that some part of the AJAX scripting doesn't like it that one of the grids suddenly has no records. I tried implementing buttons that move all items form one grid to the other via the code behind, and the JavaScript error still shows up.
Is there a fix or work around for this? I haven't been able to find one yet :-(

I’m trying to look for an example, but I haven’t found one. I would like to add a checkbox column to my RadGrid where if a person checks the checkbox it will do an insert into the database. This example here looks close to what I want. Where if you check the checkbox on the upper left, it will check all the rows and at the same time insert into the database as a yes/no or a 0 / 1.
Any help would be appreciated.
Thanks.
<CommandItemSettings ExportToPdfText="Export to PDF"/>" line as it doesn't make any sense here, but the line has reappeared I don't know why.<telerik:RadGrid ID="OrderDetail_RadGrid" runat="server" AllowFilteringByColumn="True" AllowSorting="True" CellSpacing="0"GridLines="None" AutoGenerateColumns="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource"> <ClientSettings AllowColumnsReorder="True"> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> <MasterTableView AllowFilteringByColumn="False" AllowSorting="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource"> <CommandItemSettings ExportToPdfText="Export to PDF"/> <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"> <HeaderStyle Width="20px"/> </RowIndicatorColumn> <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"> <HeaderStyle Width="20px"/> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn DataField="p_Name" FilterControlAltText="Product" UniqueName="Product" HeaderText="Product"/> <%--<telerik:GridBoundColumn DataField="p_Description" FilterControlAltText="Description" UniqueName="p_Description" HeaderText="Description"/>--%> <telerik:GridNumericColumn DataField="tool_Quantity" DecimalDigits="2" FilterControlAltText="Quanity" HeaderText="Qantity"/> <telerik:GridBoundColumn DataField="unit_Name" FilterControlAltText="Unit" UniqueName="unit_Name" HeaderText="Unit"/> <telerik:GridButtonColumn FilterControlAltText="Filter column column" UniqueName="Remove"/> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn> </EditFormSettings></MasterTableView><FilterMenu EnableImageSprites="false"></FilterMenu></telerik:RadGrid>