|
|
Rank: Member Groups: Member
Joined: 11/23/2006 Posts: 13 Points: -188
|
I have been trying to upload the pictures to different folders depending on the event the photo's are for.
I can get a string of ../Events/2008/jan/26/Gallery/ to the Default.aspx page but can't get the parameter to the upload page.
Any idea tips welcome!
My First and only Asp.net site
<a href="www.fusic.co.uk">FUsic.co.uk</a>
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
Chris,
Could you post the code you use?
Best regards, Fedor Skvortsov
|
|
Rank: Newbie Groups: Member
Joined: 6/18/2008 Posts: 5 Points: 15 Location: London
|
I'm almost there now.
I've just purchased 5,1 and need a little help
I want to change
//Configure URL files are uploaded to. iu.addParam("Action", "upload.aspx?GPath=123" );
in default.aspx to
//Configure URL files are uploaded to. iu.addParam("Action", "upload.aspx?Gpath=" + Request.QueryString("fullGpath"));
how do I pass the query string to the iu.addParam Action?
|
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 353 Points: 180
|
Hi, You can use AdditionalFormName or AddField method, but your method works too: Code:
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", "800", "600");
iu.addParam("Action", "upload.aspx?Gpath=<%=Request.QueryString("fullGPath")%>");
iu.writeHtml();
</script>
Best regards, Eugene Kosmin. Aurigma Development Team
|
|
|
Guest |