Hi,
I have setup an application like the example shown to replace the edit form of the appointment.
In AdvancedForm user can enter data and save by clicking a button.
While that doesn't clos the AdvancedForm I set the OnClientClicked property of that button to call a js.
The AdvancedForm will be closed and for a short time there is a busy sign. But the scheduler doesn't update the display (new appointments doesn't appear).
When refreshing the scheduler (F5) the appointment will be displayed.
Before I had set the OnClientClicked methode and closing the AdvancedForm manually scheduler update was ok.
My script in AdvancedForm.ASPX is like that:
function btnSpeichern_Clicked(sender,args)
{
window.close();
}
The script from the scheduler is
function refreshScheduler() {
var ajaxManager = $find("RadAjaxManager1");
ajaxManager.ajaxRequest('RebindScheduler');
}
These function will be executed when closing the AdvancedForm. But the display is not correct (new appointment is missing or updated appointment shown as before).
Any idea?
Regards
Hardy