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:
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
>