Hello,
We have implemented RadProgressArea in our web application for Import function.
We are reading file and then processing each record one by one to insert/update in database. It is long running task depends on file's data. We added RadProgressArea to show import progress in percentage. We did not use RadProgressArea in file upload though.
It is working fine in our local environment but when we posted that on server, it is not working. Progress bar is not shown in Firefox, IE10 shows sometime and in chrome shows from start but not update percentage count.
We read articles and forums but did not find perfect solution for that. We make all web.config changes as per the article.
Can you please guide us in that?
Regards,
We have implemented RadProgressArea in our web application for Import function.
We are reading file and then processing each record one by one to insert/update in database. It is long running task depends on file's data. We added RadProgressArea to show import progress in percentage. We did not use RadProgressArea in file upload though.
It is working fine in our local environment but when we posted that on server, it is not working. Progress bar is not shown in Firefox, IE10 shows sometime and in chrome shows from start but not update percentage count.
We read articles and forums but did not find perfect solution for that. We make all web.config changes as per the article.
Can you please guide us in that?
Regards,
9 Answers, 1 is accepted
0
Hi Rashmi,
Are there any JavaScript errors? What's the name of the page that holds this progress area? Is it Default.aspx? If so note that RadProgressArea has some limitations and when it is deployed on IIS server the progress indicators are not working. The issue appears only when you open a web site e.g. http://localhost/testpage/ and the Default.aspx (the Default.aspx file is the default document of the application) file is opened and the URL is without Default.aspx. If you open e.g. http://localhost/testpage/Default.apsx URL the RadProgressArea is working correct. The issue appears because of the HttpRequest object.
Regards,
Hristo Valyavicharski
Telerik
Are there any JavaScript errors? What's the name of the page that holds this progress area? Is it Default.aspx? If so note that RadProgressArea has some limitations and when it is deployed on IIS server the progress indicators are not working. The issue appears only when you open a web site e.g. http://localhost/testpage/ and the Default.aspx (the Default.aspx file is the default document of the application) file is opened and the URL is without Default.aspx. If you open e.g. http://localhost/testpage/Default.apsx URL the RadProgressArea is working correct. The issue appears because of the HttpRequest object.
Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Rashmi
Top achievements
Rank 1
answered on 19 Nov 2013, 11:26 AM
Hello Hristo,
There are no javascript errors on page, few warning in css only.
Also RadProgressArea is not on default page. It is complete URL http://xxxx.com/Customer/InventoryImport.aspx
We have used Forms authentication and also provided access [<location path="Telerik.RadUploadProgressHandler.ashx">]
We have used conditional asp:UpdatePanel and RadProgressArea is not inside asp:UpdatePanel
Is there any way to debug or any other limitations?
Thanks,
There are no javascript errors on page, few warning in css only.
Also RadProgressArea is not on default page. It is complete URL http://xxxx.com/Customer/InventoryImport.aspx
We have used Forms authentication and also provided access [<location path="Telerik.RadUploadProgressHandler.ashx">]
We have used conditional asp:UpdatePanel and RadProgressArea is not inside asp:UpdatePanel
Is there any way to debug or any other limitations?
Thanks,
0
Hello Rashmim,
Can you paste your code here, to see how you define and use the ProgressArea. Also it will be very helpful if you capture the web traffic during the progress and attach the generated log file. Use Fiddler
Cap or other network monitoring tool.
Regards,
Hristo Valyavicharski
Telerik
Can you paste your code here, to see how you define and use the ProgressArea. Also it will be very helpful if you capture the web traffic during the progress and attach the generated log file. Use Fiddler
Cap or other network monitoring tool.
Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Rashmi
Top achievements
Rank 1
answered on 27 Nov 2013, 08:56 AM
Hello Hristo,
As per your suggestion please find the code we define ProgressArea:
.aspx
.cs:
I will try to provide you fiddler log soon.
Thanks,
As per your suggestion please find the code we define ProgressArea:
.aspx
<
telerik:RadProgressArea
runat
=
"server"
ID
=
"RadProgressArea1"
Skin
=
"Transparent"
Width
=
"100%"
HeaderText
=
""
>
</
telerik:RadProgressArea
>
<
telerik:RadNotification
ID
=
"RadNotification1"
runat
=
"server"
Skin
=
"Transparent"
EnableRoundedCorners
=
"true"
EnableViewState
=
"false"
EnableShadow
=
"true"
ShowTitleMenu
=
"false"
Position
=
"Center"
Width
=
"300"
Height
=
"100"
>
</
telerik:RadNotification
>
<
telerik:RadProgressManager
ID
=
"RadProgressManager1"
runat
=
"server"
/>
<
asp:UpdatePanel
ID
=
"UpdatePanel1"
runat
=
"server"
ChildrenAsTriggers
=
"true"
>
<
ContentTemplate
>
<
telerik:RadUpload
ID
=
"FileUploader"
runat
=
"server"
ControlObjectsVisibility
=
"None"
MaxFileInputsCount
=
"1"
ValidationGroup
=
"save"
AllowedFileExtensions
=
".xlsx,.xls,.txt,.csv"
>
</
telerik:RadUpload
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
.cs:
protected void Page_Load(object sender, EventArgs e)
{
RadProgressArea1.Localization.UploadedFiles = "Completed";
RadProgressArea1.Localization.CurrentFileName = " ";
RadProgressArea1.ProgressIndicators = ProgressIndicators.FilesCountBar | ProgressIndicators.FilesCountPercent | ProgressIndicators.CurrentFileName;
}
private bool ImportData()
{
foreach (DataRow row in ExcelData.Rows)
{
rowCount++;
UpdateProgress(RadProgressContext.Current, Total, rowCount, 50 + (rowCount * 50 / ExcelData.Rows.Count), "Import_Update ");
/*.....Update logic .....*/
}
}
private bool ImportData()
{
foreach (DataRow row in ExcelData.Rows)
{
rowCount++;
UpdateProgress(RadProgressContext.Current, Total, rowCount, 50 + (rowCount * 50 / ExcelData.Rows.Count), "Import_Update ");
/*.....Update logic .....*/
}
}
private void UpdateProgress(RadProgressContext progress, int total, int i, int per, string operation)
{
progress.SecondaryTotal = total;
progress.SecondaryValue = i;
progress.SecondaryPercent = per;
progress.CurrentOperationText = operation + i.ToString();
}
I will try to provide you fiddler log soon.
Thanks,
0
Hi Rashmi,
The pasted code seems to be working normally on all browsers. Please watch this video to see how I tested it.
Regards,
Hristo Valyavicharski
Telerik
The pasted code seems to be working normally on all browsers. Please watch this video to see how I tested it.
Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Rashmi
Top achievements
Rank 1
answered on 02 Dec 2013, 11:30 AM
Hello Hristo,
We reviewed your video and we have the same implementation. As you shown our code works fine on all browsers on out local machine. But when we placed this code on staging and production Server, it is not working properly in any browser.
Can you suggest what will be issues? How we can debug the issue on server?
Thanks,
Rashmi Naik
We reviewed your video and we have the same implementation. As you shown our code works fine on all browsers on out local machine. But when we placed this code on staging and production Server, it is not working properly in any browser.
Can you suggest what will be issues? How we can debug the issue on server?
Thanks,
Rashmi Naik
0
Hi Rashmi,
Please attach a sample project, which reproduces the described issue and a fiddler log, so we can troubleshoot the problem. It will be very helpful if you can paste a link to your live url also.
Regards,
Hristo Valyavicharski
Telerik
Please attach a sample project, which reproduces the described issue and a fiddler log, so we can troubleshoot the problem. It will be very helpful if you can paste a link to your live url also.
Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Adam
Top achievements
Rank 1
answered on 27 Dec 2014, 08:45 PM
Was there ever a solution for this? I have the EXACT same problem. RadProgressArea works perfect locally when using IISExpress however when I roll to my production server using IIS 7.5 RadProgressArea DOES NOT WORK. The file uploads and once the file is completely uploaded then the progress bar starts moving, 20%, 40% and then my window closes. I've tried every suggestion I have found on Telerik forums and nothing works.
0
Hi Adam,
The issue is most probably caused by not correct configuration of the control. Please refer to this help topic where the required web config settings are described.
Hope this will help you solve the issue.
Regards,
Plamen
Telerik
The issue is most probably caused by not correct configuration of the control. Please refer to this help topic where the required web config settings are described.
Hope this will help you solve the issue.
Regards,
Plamen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.