This is a migrated thread and some comments may be shown as answers.

Recurrence Rule / Occurrence Count IEnumerable Error

1 Answer 18 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
bhenke
Top achievements
Rank 1
bhenke asked on 03 Mar 2015, 12:16 AM
Hello,

I am having a problem referencing any of the iEnumerable properties on Occurrences collection for the RecurrenceRule class.  It is working OK in one project (4.0 framework) but I am having compilation errors in the other project such as:

Error 179 'Count' is not a member of 'System.Collections.Generic.IEnumerable(Of Date)'. 

The above error is happening with this code:

If parsedRule.Occurrences.Count > 0 Then

In my other project the above works OK.  I've tried adding references to different framework system libraries but it doesn't seem to make any difference.

Any idea why the above would be happening?  Am I missing a reference or do I need to change a reference?  I am using the Q3 2014 UI AJAX ASP.NET controls.

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 05 Mar 2015, 10:03 AM
Hi Brian,

Can you paste your code here, so we can see what are you doing? 

Thanks.


Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
bhenke
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or