Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: Using PostedFile from a live postback?
benles

From: Santa Barbara, CA USA
Posts: 16
Member Since: 05/10/05
posted May 10, 2005 6:22 PM

Hi, I'm trying to access a posted file through a LiveButton, but it looks like it's empty. Is there anything special that needs to be done to handle a file upload on a live postback?
lordhits2

From: Oakbrook Terrace, IL USA
Posts: 26
Member Since: 04/13/05
posted May 11, 2005 8:49 AM

Dart can confirm this but I think you out of luck. Callbacks with Live controls don't post back the MIME type of encType="multipart/form-data".

LH
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted May 11, 2005 9:07 AM

Yep, lordhits2 is correct. Behind the scenes we use JavaScript and the XmlHttp control to send a callback. Due to browser security constraints, XmlHttp is unable to post a file from the user's machine because it is not allowed access to the client file system.
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX