I'm using asp.net & vb.net in Visual Studio 2005 & IE6. I have a web application that uses the FileUpload component to choose a file on the hard disk, process the file, and then return a message in the Label to indicate that the process is done. It works fine. But I then made it an AJAX application in order to add a simple animation with the AJAX UpdateProgress control, and it failed. It turns out there is a Microsoft bug where several components won't work with the AJAX component, and the FileUpload component turns out to be one of them. VERY DISAPPOINTING. What I'm trying to do is so simple and rudimentary, but AJAX cannot handle it. Amazing.
My Web app merely uses the path & filename from the FileUpload control and puts it in a variable, but gives the "Object reference not set to an instance of an object" when I try to do that with AJAX:
Protected Sub btnProcess_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnProcess.Click
strDownloadDumpFile = FileUpload1.PostedFile.Fil
eName 'Full file and path.
So it begs the question - is there another component that will give a dialog box that will work with AJAX? I'm including a Word doc that shows the problem, but the only thing I want to know is what WILL do the simple, basic operation I want? Thank you.