UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (47)
93Control.Controls.Add(_selectList);
100Control.Controls.Add(_textBox);
105Control.Controls.Add(_command);
143if (Page.IsPostBack && Control.VisibleDate == DateTime.MinValue) {
144Control.VisibleDate = DateTime.Today;
159Control.Controls.Contains(list)) {
181Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture));
187Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture));
207DateTime visibleDate = Control.VisibleDate;
258currentInfo.Calendar.GetEra(Control.VisibleDate);
307String promptText = Control.CalendarEntryText;
332arr.Add(Control.VisibleDate.ToString(
344if (Control.SelectionMode == WebControls.CalendarSelectionMode.DayWeek ||
345Control.SelectionMode == WebControls.CalendarSelectionMode.DayWeekMonth) {
349if (Control.SelectionMode == WebControls.CalendarSelectionMode.DayWeekMonth) {
379writer.Write(GetEra(Control.VisibleDate));
386_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.CurrentCulture);
403tempDate = Control.VisibleDate;
435writer.Write(Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture));
448tempDate = FirstCalendarDay(Control.VisibleDate);
471tempDate = Control.VisibleDate;
482if (Control.ShowDayHeader) {
530SelectRange(Control.VisibleDate, Control.VisibleDate);
552Control.VisibleDate = dateTime;
604Control.Controls.Add(list);
722return(Control.FirstDayOfWeek == WebControls.FirstDayOfWeek.Default)
724: (int) Control.FirstDayOfWeek;
753Control.VisibleDate = _threadCalendar.AddMonths(
754Control.VisibleDate, _monthsToDisplay);
759Control.VisibleDate = _threadCalendar.AddMonths(
760Control.VisibleDate, -_monthsToDisplay);
765Control.VisibleDate = _threadCalendar.AddMonths(
766Control.VisibleDate,
771DateTime beginDate = EffectiveVisibleDate(Control.VisibleDate);
772Control.VisibleDate = beginDate;
791DateTime tempDate = FirstCalendarDay(Control.VisibleDate);
793Control.VisibleDate = _threadCalendar.AddDays(tempDate, e.ListItem.Index * 7);
797DateTime endDate = _threadCalendar.AddDays(Control.VisibleDate, 6);
799SelectRange(Control.VisibleDate, endDate);
812Control.VisibleDate = _threadCalendar.AddDays(Control.VisibleDate, e.ListItem.Index);
814SelectRange(Control.VisibleDate, Control.VisibleDate);
824WebControls.SelectedDatesCollection selectedDates = Control.SelectedDates;
830Control.RaiseSelectionChangedEvent();
835Control ctl = Control;