ListBox not holding selections

Kevin

I have a ListBox control on a page which is being fed
from the an XML Data Source. I have it setup to allow for multiple selections without using checkboxs. I am able to select the multiple selections using the Ctrl key as I would expect, but after I click my submit button to process the data, none of the selections are there and I cannot figure out why. I have been using these controls for a number of years now and have never run into this problem.

What exactly are you pressing as a 'submit button' ? Is it the built in "move left" or "move right" buttons? If not, you may need to familiarize yourself with the client side API to confirm you are using the get functions correctly . Make sure you are using get_selectedItems as opposed to get_selectedItem to make sure you are receiving all selected items at once.

Good luck,
Master Chief

Kevin

None of this is happening client side. I have a server side function that is looping through the selected items of the control to then post the information to a Azure Table, but when I view the SelectedItems collection, there is nothing in it.

Bozhidar

Hi Brian,
I've tested the described scenario but couldn't reproduce the problem. I've attached tha sample page I used to test this. Could you verify if it works fine on your end. If your setup is different in any way, please specify the exact specifications, so that we can properly set it up on our end in order to reproduce the issue.

Regards,
Bozhidar
the Telerik team

If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.