Ajax callback doing calendar #Update() doesn't update calendar
Asked by Dirk Louwers
18 years ago.
18 years ago.
Hi,
I am using an Ajax control that has an async callback. This callback looks like this:
protected void dtpDatumVanaf_TextChanged(object sender, EventArgs e)
{
Gaia.WebWidgets.DateTimePicker picker = (Gaia.WebWidgets.DateTimePicker)sender;
calSchema.StartDate = DayPilot.Utils.Week.FirstDayOfWeek(picker.Value.Value);
calSchema.Update();
}
Unfortunately this does not update the calendar control. Any idea why this doesn't work? From what I've read Update() is specifically designed to update the calendar from async callbacks. I am using a Daypilot 4.2 Pro trial version.
I am using an Ajax control that has an async callback. This callback looks like this:
protected void dtpDatumVanaf_TextChanged(object sender, EventArgs e)
{
Gaia.WebWidgets.DateTimePicker picker = (Gaia.WebWidgets.DateTimePicker)sender;
calSchema.StartDate = DayPilot.Utils.Week.FirstDayOfWeek(picker.Value.Value);
calSchema.Update();
}
Unfortunately this does not update the calendar control. Any idea why this doesn't work? From what I've read Update() is specifically designed to update the calendar from async callbacks. I am using a Daypilot 4.2 Pro trial version.
DayPilot