Beispiel #1
0
        protected virtual void OnDayRender(TableCell cell, CalendarDay day)
        {
            DayRenderEventHandler eh = (DayRenderEventHandler)(Events [DayRenderEvent]);

            if (eh != null)
#if NET_2_0
            { if (Page != null)
              {
                  eh(this, new DayRenderEventArgs(cell, day, Page.ClientScript.GetPostBackClientHyperlink(this, GetDaysFromZenith(day.Date).ToString(), true)));
              }
              else
#endif
            { eh(this, new DayRenderEventArgs(cell, day)); }
        }
Beispiel #2
0
 public ExtCalendar()
     : base()
 {
     DayRender += new DayRenderEventHandler(EventCalendarDayRender);
 }