Radupload...no strat progressarea

Thread is closed for posting
2 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    180 posts
    Member since:
    Jan 2010

    Posted 28 Nov 2012 Link to this post

    Hi,
    i've the problem with progressarea...Into my page aspx i've a radupload and a radprogress...but when i start the upload, the files are transferred, but does not appear progressarea...this my code vb and asp is:
    Protected Sub ImageButton1_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles Imgbtncarica.Click
        If RadUpload1.UploadedFiles.Count > 0 Then
            Repeater1.DataSource = RadUpload1.UploadedFiles
            Repeater1.DataBind()
            Label1.Visible = False
            Repeater1.Visible = True
        Else
            Label1.Visible = True
            Repeater1.Visible = False
        End If
    End Sub

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI"
                    Name="Telerik.Web.UI.Common.Core.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI"
                    Name="Telerik.Web.UI.Common.jQuery.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI"
                    Name="Telerik.Web.UI.Common.jQueryInclude.js">
                </asp:ScriptReference>
            </Scripts>
        </telerik:RadScriptManager>
    <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" />
    <telerik:RadUpload ID="RadUpload1" Runat="server"
                            AllowedFileExtensions="jpg,jpeg,png,gif" OverwriteExistingFiles="True"
                            TargetFolder="Public/image" ControlObjectsVisibility="None"
                            InputSize="40" Height="22px" style="text-align: left" Skin="Sunset"
                                 Width="343px" CssClass="RadUploadProgressArea" Culture="it-IT">
                                 <Localization Select="Search" />
                             </telerik:RadUpload>
     
                             <asp:Repeater ID="Repeater1" runat="server" Visible="False">
                                 <HeaderTemplate>
                                     <div style="color: green">
                                         File caricato:</div>
                                 </HeaderTemplate>
                                 <ItemTemplate>
                                     <%#DataBinder.Eval(Container.DataItem, "FileName")%>
                                     <%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>
                                     <br />
                                 </ItemTemplate>
                             </asp:Repeater>
  2. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 03 Dec 2012 Link to this post

    Hello Fabio,

     
    Such unusual behavior is  most probably caused by not setting the configuration of RadProgressArea settings in the Web Config. You can refer to this help topic where the recommended settings are explained.

    You can also review the Known limitation section in case you your case is listed there.

    Hope this will be helpful.

    Greetings,
    Plamen
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top