Coffeehouse Post

Single Post Permalink

View Thread: Reading Zipped files in ASP.NET 3.5
  • User profile image

    , blowdart wrote

    The HTML file input control *always* uploads the file. Always.

    So then the HTML input control and a plain input control in a ASP.NET app are not the same? For example something like this:

    <input type="file" id="test"/>

    I have something like that and browsing to something does not (seem) to upload anything. Now if I create an input type, as soon as I browse to something it starts uploading. I had to implement the ICallbackEventHandler in the .cs file, but it seems to be doing what I need so far. 

    As for the zip reader, I wasn't aware javascript could give me what I want, still new to this. I was looking at System.IO.Packaging and thinking of hooking up more client controls to server side functions to do the trick...  Perplexed