Index out of range when adding special days across multiple months.

8 posts, 0 answers
  1. fightclub777
    fightclub777 avatar
    27 posts
    Member since:
    Nov 2006

    Posted 30 Jun 2008 Link to this post

    Hello,

    I am using a radCalendar and creating Special Days based the selected date on the calendar.  For example, if someone clicks on 7/2/2008, certain specials days are rendered based on that date (7/3, 7/4, etc).

    However, when a user clicks on a date towards the end of the month, like on 7/26, and one of the newly rendered specials days falls onto the Next month (i.e. 8/1), the calendar returns:

    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index" 

    When this scenario occurs, I am setting the calendar.MultiViewRows = 2, but that does nothing.  Ideally, I'd like to show only a single month view when all the special days fall in the same month, but show 2 months when the starting special day and the ending special day are different.  Your help will be greatly appreciated.


  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 04 Jul 2008 Link to this post

    Hi fightclub777,

    I followed your scenario and was able to reproduce the error. It seems that a calendar cannot change its own multi-month view on postback.
    I have forwarded the issue to our developers and hopefully you can find it fixed in our next version release.

    Please excuse us for the inconvenience.

    Regards,
    Iana
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. fightclub777
    fightclub777 avatar
    27 posts
    Member since:
    Nov 2006

    Posted 08 Jul 2008 Link to this post

    What? No Telerik points? :-)  ...

    Thank you for the reply. I look forward to receiving the next release.  Thanks for the great tools and the magnificent support that comes with it.
  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 09 Jul 2008 Link to this post

    Hello fightclub777,

    Your Telerik points are updated.

    Let us know if other issues arise.

    All the best,
    Iana
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. fightclub777
    fightclub777 avatar
    27 posts
    Member since:
    Nov 2006

    Posted 29 Jul 2008 Link to this post

    Hi, I just installed the latest build (2008.2 723), but am still experiencing the same problem.  Can you confirm that this fix was included in the build?
  6. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 30 Jul 2008 Link to this post

    Hi fightclub777,

    Unfortunately the issue is not solved yet. It appeared to be more complex than we initially expected and needs more time for solving.

    Please excuse us for the inconvenience.

    Sincerely yours,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. fightclub777
    fightclub777 avatar
    27 posts
    Member since:
    Nov 2006

    Posted 30 Sep 2008 Link to this post

    Hi,

    I just installed the 2008.2.826.20 version of the controls and this issue is STILL not fixed?  Is there a realistic plan for this problem or a fix in the future? 

    Please please please please help us out here.
  8. Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 02 Oct 2008 Link to this post

    Hi,


    Unfortunately we have not managed to fix the issue. The problem appeared to be more complex and we are not sure when it will be resolved at our side. We deeply apologize for the inconvenience that this might have caused you. As workaround you could use the IsHidden property. Please find attached an application which illustrates simplified version of this approach

    All the best,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top