Torna al Thread
Public _image As String
Protected Sub Imgbtnesci_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles Imgbtnesci.Click
Me.ClientScript.RegisterStartupScript(Me.GetType, "", "Close_and_load();", True)
End Sub
Private Sub Imgbtnupload_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles Imgbtnupload.Click
If RadUpload1.UploadedFiles.Count > 0 Then
_image = "/public/image_profile/" & RadUpload1.UploadedFiles.Item(0).FileName
Label1.Text = "File caricato: " & RadUpload1.UploadedFiles.Item(0).FileName & "(" & RadUpload1.UploadedFiles.Item(0).ContentLength & " " & "bytes)"
Else
Label1.Visible = True
End If
End Sub