Archive for August, 2008

ASP.Net File Upload/Download Module Version 2 (stable)

After 3 beta releases and many comments and emails from users it’s time to release the first stable version of the ASP.Net file upload module. This release contains a number of bug fixes and feature enhancements based on requests I have received.

I have now tested the module on the following browsers:

  • Internet Explorer 6/7
  • Safari 3.1.2 on OSX
  • Firefox 3.0.1 on OSX
  • Firefox 3.0.1 on Windows
  • Opera 9.5.1 on Windows
  • Opera 9.5.1 on OSX
23Aug2008 | darren | 17 comments | Continued

Opera/Mac opacity on file inputs

I think this might be the shortest post I’ve ever written. More a note to myself and anyone else working with Opera 9.5 on the Mac.

One of the features of the ASP.Net file upload module is that it allows styling of file inputs using a method found on www.quirksmode.org. This works great on any browser that supports opacity- including IE 6/7, Firefox Windows/Mac, and Opera (supposedly). However it always refused to work correctly on Opera 9.5 on OSX Leopard. I’ve just spent hours trying to fix this. No matter what I tried when I set the opacity of an input type="file" element to 0 it refused to take effect. Until I also added border: none to the CSS class, then it worked fine. Sigh.

22Aug2008 | darren | 1 comment | Continued

WSS 3.0: getting the current user login name via javascript

This is just a quick post in response to a question I’ve had about how to get the current user’s login details in WSS 3.0. The answer is really in two parts. Firstly, you can get the ID of the current user from the _spUserId variable which is declared by the welcome control on any page.

Next you can use the Lists.asmx web service to get the user’s login name from the hidden User Information List.

21Aug2008 | darren | 16 comments | Continued

ASP.Net File Upload/Download Module Version 2 (beta 3)

I know it’s not been very long since the previous beta of the file upload module, but since I’ve now finished browser testing and fixed a few issues I thought it would be best to make a new release. So, beta 3 is now available in the downloads section. This version also includes the ability to configure the upload controller properties via the web.config file. This is the last new feature that will be put into version 2 of the module.

I’ve tested the module on the following browsers:

  • Internet Explorer 6/7
  • Safari 3.1.2 on OSX
  • Firefox 3.0.1 on OSX
  • Firefox 3.0.1 on Windows
10Aug2008 | darren | 15 comments | Continued

ASP.Net File Upload/Download Module Version 2 (beta 2)

I’ve now uploaded beta 2 of the file upload module to the downloads section of the site. A special thanks goes to Dean Brettle who is the author of Neat Upload for his help with this version. In particular the encryption logic for storing the settings of upload controls in form fields is taken from Neat Upload (although the actual implementation is different and handled by the form parser).

5Aug2008 | darren | 22 comments | Continued