Rank: Member Groups: Member
Joined: 7/5/2008 Posts: 12
|
Hello,
I am not successfully getting my file to upload. I have the uploader set to autopostback. It is my understanding that the uploader writes to a temp file and the once it fires it's postback it writes the file to the specified location.
Also, the progress bar is filling as it should. It stays blank. here's the code.
Also, on the MaxDataSize property. I have the value set to 100 but it won't allow a file of even 1Kb to upload.
The uploader is hidden in a div until it is needed. I have a eo.scriptmanager on the page though. Could this be a problem?
protected void SomeMethod() { addUploader.TempFileLocation = "C:\\inetpub\\websites\\temp"; addUploader.FinalFileLocation = "C:\\inetpub\\websites\\folderDestination";
addUploader.TempFileLocation = "C:\\inetpub\\websites\\temp"; addUploader.FinalFileLocation = "C:\\inetpub\\websites\\folderDestination"; }
<eo:AJAXUploader ID="addUploader" runat="server" Width="250px" AutoPostBack="true"> </eo:AJAXUploader>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
Hi EO.ScriptManager should not be a problem. When you say "not successfully getting file to upload", what exactly do you mean, do you mean nothing happens after you click upload button?
The TempFileLocation and FinalFileLocation are usually set at design time, but setting them at runtime should be fine as well. You may want to compare your page with a simple page with nothing else and see if you can spot the triggering point, if not, please post the page and we will see if we can find anything. We can also set up a web meeting to investigate on your machine if you would like.
Thanks
|
Rank: Member Groups: Member
Joined: 7/5/2008 Posts: 12
|
If we could setup a webmeeting that would be wonderful. How do we set that up?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
We have setup a meeting for you. Please see your private message for the meeting link.
Thanks!
|