Recurrence Rule / Occurrence Count IEnumerable Error

2 posts, 0 answers
  1. bhenke
    bhenke avatar
    8 posts
    Member since:
    Sep 2006

    Posted 02 Mar 2015 Link to this post

    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.

  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 05 Mar 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top