Thanks for the quick response. It never occurred to me that I should initialize the Radloopinglist in the data source. I didn't see in the documentation that two event handlers were fired during initialization of the list. When I looked (again), I couldn't figure out how to do what I wanted, This is all that I could find for the methods that you mentioned.
LoopingListDataSource is fully virtualized which is why data items are created in the ItemNeeded event handler. A data item is created only if it is going to be visualized.
The basic LoopingListDataItem supports only a text property. In order to add more properties users need to inherit from LoopingListDataItem and add the necessary information.
Then they can simply create an instance of their custom data item in the ItemNeeded event handler.
If the view port of the looping list is not big enough to display all of the data, which is almost always the case, users need to subscribe to the ItemUpdated event. ItemUpdated is called whenever the looping list needs to display new data, that is, data that is not visible at the moment, but that will be visualized shortly. For example when the looping list scrolls the items from the inertia caused by a user flick, the ItemUpdated event will be fired for items that will be visualized next. The arguments in the event handler provide the data item that has to be visualized and an index that corresponds to the real data record in the original data source. Users are expected to update the data item with the real data from their own data source. A code snippet will best illustrate this:
I'm not sure that explains what I need to do. To clarify what I need, I have a RadLoopingList (which i've set up with a datasource) that cycles through 0-9, simple integers (yes, I know it's displayed as text). Upon startup, (initialization) I want a specific number to show on the list, it could be 3, 4,5, whatever, it will come from a variable somewhere. Is this possible with the RadLoopingList?
A question about the description for ItemUpdated, how do you subscribe to that event? Can you provide some example code to illustrate how this should be used?
Another question, which may not be as significant, what does 'fully virtualized' mean? Is this a c# concept? I'm new with c#.