Welcome Guest Search | Active Topics | Sign In | Register

PostedFiles is empty Options
Mark W
Posted: Thursday, March 10, 2011 9:11:25 AM
Rank: Member
Groups: Member

Joined: 2/6/2010
Posts: 22
Hi
This was working just fine, but for some reason the AJAXUploader1.PostedFiles
is empty.
The files have uploaded to the temp folder, but on Submit the PostedFiles is empty

Any Ideas

Many Thanks

Mark



Mark W
Posted: Thursday, March 10, 2011 10:08:04 AM
Rank: Member
Groups: Member

Joined: 2/6/2010
Posts: 22
i setup a test project to try and narrow my problem down, and it seems that the
AJAXUploader1.TempFileLocation = MapPath("files/temp") is set to nothing.

but I set this on pageload, but when I submit the page and break again on page load its still set to nothing.

Any Ideas

Mark
Mark W
Posted: Thursday, March 10, 2011 11:30:28 AM
Rank: Member
Groups: Member

Joined: 2/6/2010
Posts: 22
Getting really confused here.
I have my uploader in a div.
The div has a runat= Server set.
If I take the uploader out of that Div and place it at the bottom it all works.

If I take off the run at server from the div it stops working even if its outside the div.

Have you ever seen strange thing like this before,I hope so
I am in no dought that it me at fault here, just can't pin it down.

Many thanks

Mark
eo_support
Posted: Thursday, March 10, 2011 12:05:07 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We usually don't trouble user code errors. If you still have problem, please try to isolate the problem into a test page and we can take a look for you. Please make sure the test page runs and also contains only code needed to reproduce the problem.

Thanks!
Mark W
Posted: Thursday, March 10, 2011 12:32:50 PM
Rank: Member
Groups: Member

Joined: 2/6/2010
Posts: 22
Hi support.

Your right my coding is down to me.
I have found the cause of the problem, but not the solution for the uploader problems.
Its nothing to do with the Divs

I have a gridview, that in code behind I move to a table row.
Both the table and the grid are definded in the aspx page.

This cause's the uploader to lose its settings.

Any idea why this would cause the uploader to fault.

Many Thanks

Mark



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.