I assume that you are using RadListControl or RadDropDownList, rather than RadListView, which this thread concerns. If so, in your foreach loop, you need to use RadListDataItem instead of ListViewDataItem, as the former is the type of the data items in RadListControl/RadDropDownList.
I hope this helps.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.