Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
chris cee  
#1 Posted : Monday, January 28, 2008 1:21:19 AM(UTC)
chris cee

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>
Fedor  
#2 Posted : Monday, January 28, 2008 2:23:54 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,558

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Chris,

Could you post the code you use?
Best regards,
Fedor Skvortsov
ChrisCee  
#3 Posted : Wednesday, June 18, 2008 8:55:53 AM(UTC)
ChrisCee

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?
Eugene Kosmin  
#4 Posted : Thursday, June 19, 2008 12:12:49 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 446

Was thanked: 24 time(s) in 24 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.
Aurigma Development Team
Users browsing this topic
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.