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

Notification

Icon
Error

Options
Go to last post Go to first unread
johnjen  
#1 Posted : Tuesday, December 13, 2011 1:16:09 AM(UTC)
johnjen

Rank: Newbie

Groups:
Joined: 12/11/2011(UTC)
Posts: 8

I have Image uploader flash 7.2.9 embedded in the UploadformPic.aspx.
I use autosave, and want to write the destinationfolder in the code behind on page_load.
In the code behind I catch the URL request (Request.QueryString()) afhter payment.
The two query strings give me the save location for the images.
ImageUploaderFlash1.DestinationFolder="~/Images/"+ verk_path+"/"+Verk_Id+"/"

There is no error in the code behind, I have tested it with only a simply text input field. and its stays empty. Consider the namespace I must give for the Embedded uploader:Aurigma.ImageUploaderFlash and in de code behind is this RegioCar.

I now there is also the posibility to saveas/move/ post option, but the problem stays the same.
I don't know to get the information on that stage.

The save information is availible before I go to the payment (third party outside domein)
The succes path afther payment give me the information for the save location. and is directed to the UploadformPic.aspx

Edited by user Tuesday, December 13, 2011 1:20:37 AM(UTC)  | Reason: Big problem

Dmitry.Obukhov  
#2 Posted : Tuesday, December 13, 2011 2:10:26 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups:
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello John,

You need to wrap your text fields to a form, and add this form to the POST request through AdditionalFormName property. In the Page_Load, you can get the fields via Request.Form[NAMEofFIELD].

If you have any additional questions or problems with it, please let me know. I will be glad to assist you.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
johnjen  
#3 Posted : Tuesday, December 13, 2011 3:45:16 AM(UTC)
johnjen

Rank: Newbie

Groups:
Joined: 12/11/2011(UTC)
Posts: 8

Hi Dmitry,

It is not about the texfield, that was a example.
Is it possible to give a example how I get the query string info from the mentioned URL
so the forms hiearchie is:

RegioCar_Upl_Verk_auto.aspx ->url query string to-> RegioCar_Betaling.aspx -> Ideal payment (external) ->"succes url with the query string" to-> UploadformPic.aspx

So the original data is only availible in the RegioCar_Upl_verk_auto and RegioCar_Betaling.aspx availible. Because I can't get the data from the succes URL in de code behind form where Aurigma is embeded.

This is the succes URL from Ideal payment
~/Forms/forms_key/UploadformPic.aspx?verk_id=1&verkpath=Material
this URL calls the form where Aurigma is embedded.


Regards John

Edited by user Tuesday, December 13, 2011 4:15:02 PM(UTC)  | Reason: Better layout to read

Dmitry.Obukhov  
#4 Posted : Tuesday, December 13, 2011 8:46:21 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups:
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello John,

Okay, I understood it. You can keep necessary values as values of session variables, e.g.:
Code:
 string str = "Aurigma";
Session["Aurigma"] = str;

On the page with Image Uploader Flash, you can get this value, and add to the path:
Code:

protected void Page_Load(object sender, EventArgs e)
{
    string strget = Session["Aurigma"].ToString(); 
    Uploader1.DestinationFolder = "~/UploadedFiles/" + strget + "/";
}

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest
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.