Hello, guys.
In my application I added loading panel on client PageLoad event as it was described on this forum.
function pageLoad(sender, eventArgs) {
if (!eventArgs.get_isPartialLoad()) {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("PAGE_LOAD");
}
}
But after I added some ajax requests to my code I found that the panel used as updated control gets redrawn each time (to be exact not, each but starting from second time and I think thi is a kind of bug) I perform ajax request.
I tryed to remove the ajax setting made to AjaxManager in a design time using the following code
bool Stop = false;
foreach (AjaxSetting Setting in RadAjaxManager1.AjaxSettings)
{
if (Setting.AjaxControlID == RadAjaxManager1.ID)
foreach (AjaxUpdatedControl Ctrl in Setting.UpdatedControls)
if (Ctrl.ControlID == pnlSplash.ID)
{
Setting.UpdatedControls.Remove(Ctrl);
Stop = true;
break;
}
if (Stop)
break;
}
but it didn't help. It still appears during ajax requests made from client code.
What have I done wrong?
With respect, Sergey.
In my application I added loading panel on client PageLoad event as it was described on this forum.
function pageLoad(sender, eventArgs) {
if (!eventArgs.get_isPartialLoad()) {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("PAGE_LOAD");
}
}
But after I added some ajax requests to my code I found that the panel used as updated control gets redrawn each time (to be exact not, each but starting from second time and I think thi is a kind of bug) I perform ajax request.
I tryed to remove the ajax setting made to AjaxManager in a design time using the following code
bool Stop = false;
foreach (AjaxSetting Setting in RadAjaxManager1.AjaxSettings)
{
if (Setting.AjaxControlID == RadAjaxManager1.ID)
foreach (AjaxUpdatedControl Ctrl in Setting.UpdatedControls)
if (Ctrl.ControlID == pnlSplash.ID)
{
Setting.UpdatedControls.Remove(Ctrl);
Stop = true;
break;
}
if (Stop)
break;
}
but it didn't help. It still appears during ajax requests made from client code.
What have I done wrong?
With respect, Sergey.