Hi everyone,
I have a FileUpload component on a master page, and for some reason, when i access this page from a PDA, the HasFile property is always false when i have selected a file.
I can use the FileUpload component by itself and it works fine on any platform (desktop/PDA/laptop), but as soon as i convert the page to be a content page, it just doesnt work on a PDA.
Here is my code. I am only checking the HasFile property. As you can see i have updated the forms property enctype for uploading, this is done via a property.
If anyone can get this to work, i would be really grateful.
Cheers
Protected Sub Button2_Click(ByVal sender
As Object,
ByVal e As System.EventArgs)
Handles Button2.Click
Me.Response.Write(Me.FileUpload1.HasFile)
End
Sub
Protected
Sub Page_Load(ByVal sender
As Object,
ByVal e As System.EventArgs)
Handles Me.Load
If
Not Me.IsPostBack
Then
Me.Master.FormType = MasterPage.FormTypes.Upload
End
If
End
Sub