Rank: Member
Groups: Member
Joined: 11/22/2006(UTC) Posts: 13
|
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: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Chris,
Could you post the code you use? |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 6/18/2008(UTC) Posts: 5
|
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, Administration, Moderator Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
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 The Aurigma Development Team
|
|
|
|
Forum Jump
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.