Hi,
I am using Telerik with ASP.NET.
There is some process which takes much time to complete. At the time
of process RadAjaxLoadingPanel viwed successfully in my development
environment.
But when I run the application from IIS then after some tile ajax
loading panel disappear. At the time back end process till in progress
and finally no message about the completion success or failure status.
Some code:
Master page:
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
AsyncPostBackTimeout
=
"1200"
>
<
Scripts
>
<
telerik:RadScriptReference
Path="JS/jquery-1.11.1.min.js
</Scripts>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
UpdatePanelsRenderMode="Inline><
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanelProcess"
Enabled
=
"true"
runat
=
"server"
IsSticky
=
"true"
MinDisplayTime
=
"300"
Style
=
"position: absolute; top: 0; left: 0; height: 100%; width: 100%"
>
Processing..
</
telerik:RadAjaxLoadingPanel
>
Content page:
<
telerik:RadWindowManager
ID
=
"RadWindowManagerProcess"
runat
=
"server"
</telerik:RadWindowManager>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanelProcess1"
Enabled
=
"true"
runat
=
"server"
IsSticky
=
"true"
Style
=
"position: absolute; top: 0; left: 0; height: 100%; width: 100%;"
RegisterWithScriptManager
=
"true"
> Processing...</
telerik:RadAjaxLoadingPanel
>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
OnAjaxRequest
=
"RadAjaxManager1_AjaxRequest"
LoadingPanelID
=
"RadAjaxLoadingPanelProcess1"
>
</
telerik:RadAjaxPanel
<telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function confirmCallBackFn(arg) {
var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>")
if (arg) {
$find("<%= RadAjaxPanel1.ClientID%>").ajaxRequestWithTarget("<%= RadAjaxPanel1.UniqueID %>", "PanGenerate");
}
else {
ajaxManager.ajaxRequest('Cancel');
}
}
</
script
>
</
telerik:RadCodeBlock
>
CS:
protected void btnCrud_ProcessClick(object sender, EventArgs e){
//.........
if (totalCard >
{ var msg = new StringBuilder();
msg.Append("Total " + totalCard + " records found.");
msg.Append("/br");
msg.Append(" Do you want to process " + CalculativeCard + " records ?");<
br
> RadWindowManagerProcess.RadConfirm(msg.ToString(), "confirmCallBackFn", 370,170, null, "Confirmation Message")
}
}
Please inform me if any more information required..
Thanks in advance