Hi,
When i select a particular item in the listbox, i want to check for a condition and display a message to the user. I could display a message but the item is not displaying in the destination listbox. Why are the selected items not displaying in destination list box?
C# code:protected void rlbClntService_Transferring(object sender, RadListBoxTransferringEventArgs e){ string hHold = Uc_Client.Clients.SelectedValue; double pLevel, eligibility; string sItem; pLevel = objBLLClntServ.GetClientPLevel(hHold); sItem = rlbClntService.SelectedItem.Value; eligibility = objBLLClntServ.GetEForSelectedItem(sItem); if (pLevel > eligibility) { //ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Client is not eligible.');", true); lblWarning.Text = "This client not eligible. "; mpuWarning.Show(); } }ASPX:<table> <tr> <td> <telerik:RadListBox ID="rlbClntService" runat="server" AllowTransfer="True" AllowTransferDuplicates="false" AutoPostBack="true" AllowTransferOnDoubleClick="True" AutoPostBackOnTransfer="true" EnableDragAndDrop="true" Height="130px" Skin="Forest" TransferToID="rlbSelectedServices" Width="400px" OnTransferring="rlbClntService_Transferring"> <ButtonSettings ShowReorder="false" ShowTransferAll="false" /> </telerik:RadListBox> </td> <td> <table> <tr> <td> <asp:Label ID="lblSelectedServices" runat="server" CssClass="label" Text="Selected Services" /> </td> </tr> <tr> <td> <telerik:RadListBox ID="rlbSelectedServices" runat="server" AllowDelete="true" Height="110px" Skin="Forest" Width="400px"> <ButtonSettings ShowDelete="true" TransferButtons="All" /> </telerik:RadListBox> </td> </tr> </table> </td> </tr> </table>