I am creating RadListBoxes dynamically at runtime. Some pages may have one, some pages may have 5.
My page has a submit button on it. So, when the page is submitted I am looping through all the fields and getting their values to build some xml which I then send to the database. [I am using Request.Form.AllKeys[x] and Request.Form[x] to get the key and the value from each form field. For the RadListBox controls, I want to get ALL the items that they contain]
How do I get the values (RadListBoxIItems) that are in each list box?
I have not been able to find an example of this sort of "manual" retrieval of the items in a list box.
Thanks for whatever advice you can offer.
It looks as if this post
might offer a way to get the values. I appears I can deserialize the client state of the RadListBox using an RadListBoxClientState object. However, I can't find where that is defined. The thread says that I just need to import Telerik.Web to use it but, that doesn't appear to work. Is this object still available. I will continue searching.