views:

31

answers:

0

I have a Dataview bound to Document Library with the New Document button enabled.

It apears to upload but can't find the files anywhere. I don't have a Shared Document folder.

How and where do you set where to upload the file? A specific folder would be nice and If I could make it dynamic tied to QueryString that would be ideal.

Going a bit further, the library I'm bound to has many 3 digit numeric folders that are dynamically created when entries are added to another list. The page that is calling my dataview has a querystring that will tie into the folder I want to drop files into. Just wondering how I can dynamically set the upload destination. Currently this is the generated code buttons:

..

<a href="javascript: {ddwrt:GenFireServerEvent('__cancel;dvt_1_form_insertmode={1}')}">Upload File



input type="button" value="Save" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__commit')}" 

I have some other code that calls the classic file upload page that is working perfectly, but I'd really prefer the clean and simple UI of the DataView control if I could make it dynamic somehow.

Thanks!