Evening Koen - thanks for your reply > I tried this with Firefox on linux and IE on windows: with Firefox it > simply uploads an empty file, with IE it refuses me to input an > non-existing file. > > What browser/platform do you see this javascript error ?
This is with IE. You are right that the control lets you enter anything but does not trigger a change event - however I have a button which fires upload() as per the example. It is with this that I get the javascript error. I guess I can get rid of the button (my application relies on javascript anyway). > For an AJAX session, starting is always triggered yourself using > WFileUpload::upload(), no ? I guess - I wasn't certain if the control did an upload in other cases (from reading the reference) - but yeah I must know when I call upload()! > the API is a bit messy I'll drink to that :-) > The disabled tag is not interpreted correctly on some browser (e.g. > Safari), so it would not work in general. We would need to investigate > what is exactly allows from a security point of view, but perhaps > hiding (and replacing with a text "Upload in progress" is the most > likely thing to work. > OK ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
