Hi,
I am having trouble refreshing my scheduler after an insert / update. The insert and updates both work fine but the scheduler does not refresh after each of these events, I have to press F5 or refresh the page to see the changes. I am using Subsonic as my datasource
And also using the following Ajax
I am having trouble refreshing my scheduler after an insert / update. The insert and updates both work fine but the scheduler does not refresh after each of these events, I have to press F5 or refresh the page to see the changes. I am using Subsonic as my datasource
protected void RadScheduler1_OnLoad(object sender, EventArgs e) |
{ |
if (!IsPostBack) |
{ |
SubSonic.Query q = new SubSonic.Query(TblSystemAvailability.Schema); |
q.QueryType = SubSonic.QueryType.Select; |
q.OrderBy = SubSonic.OrderBy.Desc(TblSystemAvailability.Columns.TimeStamp); |
RadScheduler1.DataSource = TblSystemAvailability.FetchByQuery(q); |
} |
} |
And also using the following Ajax
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" |
DefaultLoadingPanelID="RadAjaxLoadingPanel1"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadScheduler1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" |
LoadingPanelID="RadAjaxLoadingPanel1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
After AppointmentInsert and AppointmentUpdate I am setting RadScheduler1.Rebind(), I have tried using Javascript to refresh but to no avail. If anybody has any ideas it would be much appreciated. Thanks.