I am using VS 2010 and Telerik.Web.UI version 2010.1.415.35. I have the following code to access multiple resource values and am getting the following error:
foreach statement cannot operate on variables of type 'Telerik.Web.UI.Resource' because 'Telerik.Web.UI.Resource' does not contain a public definition for 'GetEnumerator'
foreach (Resource service in e.Appointment.Resources.GetResourcesByType("Service")){
}
Any help would be appreciated.
Thanks
foreach statement cannot operate on variables of type 'Telerik.Web.UI.Resource' because 'Telerik.Web.UI.Resource' does not contain a public definition for 'GetEnumerator'
foreach (Resource service in e.Appointment.Resources.GetResourcesByType("Service")){
}
Any help would be appreciated.
Thanks