progress bar not showing

Thread is closed for posting
5 posts, 0 answers
  1. cielo valdoz
    cielo valdoz avatar
    33 posts
    Member since:
    Dec 2009

    Posted 23 Apr 2010 Link to this post


    I used the code in your demo page but the progress bar is not showing even if the browser is IE and i uploaded large file. Did i missed code or something? I traced the code but it doesnt fall in function onClientProgressBarUpdating

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="EgsUploadDbase.WebForm1" %> 
    <%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> 
    <html xmlns="">  
    <head runat="server">  
         <form runat="server" id="mainForm" method="post">  
            <script type="text/javascript">  
                function onClientProgressBarUpdating(progressArea, args) {  
                    progressArea.updateVerticalProgressBar(args.get_progressBarElement(), args.get_progressValue());  
            <telerik:RadScriptManager id="ScriptManager1" runat="server" /> 
            <table width="754">  
                    <td colspan="2">  
                        To see the progress area, please upload a large file.   
                    <td style="vertical-align: top;">  
                        <telerik:radupload id="Radupload1" runat="server" initialfileinputscount="2" /> 
    <asp:button id="buttonSubmit" runat="server" text="Submit" onclick="buttonSubmit_Click" 
    cssclass="RadUploadSubmit" /> 
                    <td style="vertical-align: top;">  
                        <div class="smallModule">  
                            <div class="rc1"><div class="rc2"><div class="rc3" style="width:240px">  
                                <asp:Label id="labelNoResults" runat="server" visible="True">No uploaded files yet</asp:Label> 
                                <asp:Repeater id="reportResults" runat="server" visible="False">  
                                        <span>Uploaded files:</span><br /> 
                                        '<%#DataBinder.Eval(Container.DataItem, "FileName")%>' (<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>)<br /> 
            <telerik:RadProgressManager id="Radprogressmanager1" runat="server" /> 
            <telerik:RadProgressArea id="RadProgressArea1" runat="server" onClientProgressBarUpdating="onClientProgressBarUpdating" > 
            <br /> 
            <br /> 

    Public Class WebForm1  
        Inherits System.Web.UI.Page  
        Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load  
        End Sub 
        Protected Sub buttonSubmit_Click(ByVal sender As ObjectByVal e As System.EventArgs)  
        End Sub 
        Private Sub BindResults()  
            If Radupload1.UploadedFiles.Count > 0 Then 
                labelNoResults.Visible = False 
                reportResults.Visible = True 
                reportResults.DataSource = Radupload1.UploadedFiles  
                labelNoResults.Visible = True 
                reportResults.Visible = False 
            End If 
        End Sub 
    End Class 
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 23 Apr 2010 Link to this post

    Hi cielo valdoz,

    Please make sure that you have registered the RadUploadHttpHandler and the RadUploadHttpModule in the web.config. Detailed instructions on how to do this can be found here.

    Genady Sergeev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Hassan Yasir
    Hassan Yasir avatar
    11 posts
    Member since:
    Apr 2010

    Posted 23 Apr 2010 Link to this post

    In most of the cases you may not be able to see progress bar while you're running the application on your local server.
    Have you tried it on your web server?

    If it is still not working, checkout your IIS version. If it's 7, checkout whether you've entered the correct handlers under <system.webServer>.

    If it is also okay, checkout whether you have Application's Full Trust. This component will not work under medium trust.
    If you're web server supports full trust, make these changes to your web.config file:
        <trust level="Full" />  

    Hope any of one solution mentioned above would help you.

    Best of luck

  4. SK
    SK avatar
    16 posts
    Member since:
    Mar 2009

    Posted 15 Dec 2012 Link to this post

    We are also trying to use the RadProgressArea. It looks like (from what you are saying) it does not work on the medium trust computers. I want to install it on shared server where full trust may not be available.

    Is there a way to switch to a fixed image on computers that does not ahve full trust?

  5. Plamen
    Plamen avatar
    2926 posts

    Posted 20 Dec 2012 Link to this post

    Hello SK,

    We are not aware of any workaround for this issue. Please let us know if you could think of a possible solution in you r further research.

    the Telerik team
    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 their blog feed now.
Back to Top