Hi everyone,
I have implemented the RadProgressArea in my ASP.NET WebForms Sharepoint web application in which i am parsing an excel file and ingesting each excel row into my system and try to use the RadProgressArea to track the progress of the import process. for that I'am using a RadAsyncUpload to upload the excel file and an 'Import' Botton to process the selected file and ingest it into the system.
The problem I am facing here, is that each time after restarting the web server IIS and click the import botton the RadProgressArea is not displayed and the page is on loading mode until the file import processing is finished. Then the RadProgressArea start to be shown without any problem for further import click.
I need to know why the RadProgressArea is not displayed for the first time when my IIS is restared and start to work fine later on and what could be the possible solution for my probelm.
Here the configuration I m using in my both Dev and Integration environments :
In side </
system.webServer
>
<
p
><
handlers
> </
p
><
p
><
add
name
=
"Telerik.Web.UI.WebResource"
path
=
"Telerik.Web.UI.WebResource.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2016.3.1027.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
/><
br
> <
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
path
=
"Telerik.Web.UI.DialogHandler.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2016.3.1027.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
/><
br
> <
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2016.3.1027.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
verb
=
"*"
preCondition
=
"integratedMode"
/><
br
> <
add
name
=
"Telerik_RadUploadProgressHandler_ashx"
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI, Version=2016.3.1027.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
verb
=
"*"
preCondition
=
"integratedMode"
/><
br
> <
add
name
=
"ChartImage_axd"
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2016.3.1027.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
verb
=
"*"
preCondition
=
"integratedMode"
/><
br
> </
handlers
></
p
>
And add location to my web config like that :
<
location
path
=
"Telerik.RadUploadProgressHandler.ashx"
><
br
> <
system.web
><
br
> <
authorization
><
br
> <
allow
users
=
"*"
/><
br
> </
authorization
><
br
> </
system.web
><
br
> </
location
><
br
> <
location
path
=
"WebResource.axd"
><
br
> <
system.web
><
br
> <
authorization
><
br
> <
allow
users
=
"*"
/><
br
> </
authorization
><
br
> </
system.web
><
br
> </
location
>
In my aspx page i am using the RadProgressArea as :
<
p
><
span
id
=
"pnlActions"
runat
=
"server"
><
br
><
telerik:RadButton
ID
=
"btnImport"
Text
=
"Import"
OnClick
=
"btnImport_Click"
OnClientClicked
=
"function(button, args){hideRadBtn();return true;}"
<br> runat="server" Skin="Web20" RenderMode="Lightweight"><
br
><
Icon
PrimaryIconCssClass
=
"rbDownload2"
PrimaryIconLeft
=
"4"
PrimaryIconTop
=
"2"
></
Icon
><
br
> </
telerik:RadButton
><
br
><
br
><
telerik:RadButton
ID
=
"btnNew"
Text
=
"New import"
OnClick
=
"btnNew_Click"
Visible
=
"false"
<br> runat="server" Skin="Web20" RenderMode="Lightweight"><
br
><
Icon
PrimaryIconCssClass
=
"rbAdd2"
PrimaryIconLeft
=
"4"
PrimaryIconTop
=
"2"
></
Icon
><
br
></
telerik:RadButton
><
br
><
br
><
telerik:RadProgressManager
ID
=
"RadProgressManager1"
runat
=
"server"
/><
br
><
telerik:radprogressarea
id
=
"RadProgressArea1"
runat
=
"server"
style
=
"text-align: center"
DisplayCancelButton
=
"False"
<br>progressindicators="FilesCountBar,<
br
>FilesCount,<
br
>FilesCountPercent,<
br
>SelectedFilesCount,<
br
>CurrentFileName,<
br
>TimeElapsed,<
br
>TimeEstimated"><
br
></
telerik:radprogressarea
><
br
></
span
></
p
><
p
></
p
>
Thanks a lot for your support
Youness