UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (48)
115Control.Controls.Add(_selectList);
122Control.Controls.Add(_textBox);
127Control.Controls.Add(_command);
165if (Page.IsPostBack && Control.VisibleDate == DateTime.MinValue)
167Control.VisibleDate = DateTime.Today;
185Control.Controls.Contains(list))
210Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture));
217Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture));
240DateTime visibleDate = Control.VisibleDate;
302currentInfo.Calendar.GetEra(Control.VisibleDate);
353String promptText = Control.CalendarEntryText;
367if (Control.BreakAfter)
382arr.Add(Control.VisibleDate.ToString(
394if (Control.SelectionMode == CalendarSelectionMode.DayWeek ||
395Control.SelectionMode == CalendarSelectionMode.DayWeekMonth)
399if (Control.SelectionMode == CalendarSelectionMode.DayWeekMonth)
434writer.Write(GetEra(Control.VisibleDate));
441_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.InvariantCulture);
458tempDate = Control.VisibleDate;
492writer.Write(Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture));
505tempDate = FirstCalendarDay(Control.VisibleDate);
529tempDate = Control.VisibleDate;
541if (Control.ShowDayHeader)
595SelectRange(Control.VisibleDate, Control.VisibleDate);
619Control.VisibleDate = dateTime;
676Control.Controls.Add(list);
813return(Control.FirstDayOfWeek == FirstDayOfWeek.Default)
815: (int) Control.FirstDayOfWeek;
848Control.VisibleDate = _threadCalendar.AddMonths(
849Control.VisibleDate, _monthsToDisplay);
855Control.VisibleDate = _threadCalendar.AddMonths(
856Control.VisibleDate, -_monthsToDisplay);
862Control.VisibleDate = _threadCalendar.AddMonths(
863Control.VisibleDate,
869DateTime beginDate = EffectiveVisibleDate(Control.VisibleDate);
870Control.VisibleDate = beginDate;
891DateTime tempDate = FirstCalendarDay(Control.VisibleDate);
893Control.VisibleDate = _threadCalendar.AddDays(tempDate, e.ListItem.Index * 7);
898DateTime endDate = _threadCalendar.AddDays(Control.VisibleDate, 6);
900SelectRange(Control.VisibleDate, endDate);
915Control.VisibleDate = _threadCalendar.AddDays(Control.VisibleDate, e.ListItem.Index);
917SelectRange(Control.VisibleDate, Control.VisibleDate);
928SelectedDatesCollection selectedDates = Control.SelectedDates;
934Control.RaiseSelectionChangedEvent();
940Control ctl = Control;