|
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
|
|
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
|
|
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
|
|
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!
|
|
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
|
|