This is a migrated thread and some comments may be shown as answers.

Radupload...no strat progressarea

1 Answer 36 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 28 Nov 2012, 01:12 PM
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>

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 03 Dec 2012, 02:04 PM
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.
Tags
Upload (Obsolete)
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or