This project is read-only.

Calendar order

Jan 12, 2009 at 9:16 PM

I want to have the Calendar page view in reverse order (the most recent event in top of the page). So in CalendarList.aspx.cs how can I order the repeater ("rc") component?

Jan 14, 2009 at 7:13 PM
The calendar implements a GetEvents. Since the method happened to be virtual you have the option of creating a custom Calendar definition:


public class MyCalendar : Calendar
    public override IEnumerable<Event> GetEvents()
        return base.GetEvents();