Start Date from Calendar
if (c is DayPilotCalendar)
((DayPilotCalendar)c).StartDate = Calendar1.SelectedDate;
}
foreach(Control c in this.Controls)
if (c is DayPilot.Web.Ui.DayPilotCalendar)
((DayPilotCalendar)c).StartDate = Calendar1.SelectedDate;
foreach(Control c in this.Page.Controls)
if (c is DayPilot.Web.Ui.DayPilotCalendar)
((DayPilotCalendar)c).StartDate = Calendar1.SelectedDate;
foreach(Control c in Controls)
if (c is DayPilot.Web.Ui.DayPilotCalendar)
((DayPilotCalendar)c).StartDate = Calendar1.SelectedDate;
The above all are not working.
I have added the control inside the table
tablecell.Controls.Add(dpc);
but its not going inside the if condition. Why?
Asked by Anonymous 4 years ago.