Hi,
i have attached a LoadingPanel to my RadScheduler.How can I get it to display when loading/saving the AdvancedForm, but not for every single postback on the form. I have a multitude of checkboxes on there & getting the loading screen for every tick/untick is really slowing things down.
I've had a brief look at OnRequestStart, but I don't see how to narrow down the postback event being applied to the scheduler.
Thanks,
Ellie
01.
var currentLoadingPanel = null;
02.
var currentUpdatedControl = null;
03.
function RequestStart(sender, args) {
04.
currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
05.
06.
if (args.get_eventTarget() == "<%= RadScheduler1.UniqueID %>") {
07.
currentUpdatedControl = "<%= RadScheduler1.ClientID %>";
08.
09.
<%--something needs to go here to identify the postbacks i do / don't want the panel for --%>
10.
11.
currentLoadingPanel.show(currentUpdatedControl);
12.
}
13.
}