From: Marcos G. on
Please somebody :( i want to use the control FileUploaderAjax but i want to
create many directories so i want to use a textbox to obtain the name of the
new directory but i dont understand in this example why the control:
me.txtReferencia.text don't have anything when i have alreade type something
in there :( i hope that you can helo me, and sorry for may bad english

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
carpeta1 = Me.TxtReferencia.Text
If FileUploaderAJAX1.IsPosting Then
End If
End Sub

Private Sub managePost()
Dim pf As HttpPostedFileAJAX = FileUploaderAJAX1.PostedFile
Dim CARPETA As String
CARPETA = Me.TxtReferencia.Text
If pf.ContentLength <= 20 * 1024 Then
FileUploaderAJAX1.SaveAs("~/" + CARPETA1, pf.FileName)
End If
End Sub