Welcome Guest Search | Active Topics

Add Reply New Topic

HOWTO: Use Action property

Options
Tamila
Posted: Tuesday, October 28, 2008 4:57:20 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 3/10/2008
Posts: 554
Points: 1,565
Action property specifies URL of server upload script processing uploaded files. There are two ways to specify this URL: absolute and relative.

Suppose, we have the page http://www.aurigma.com/ImageUploaderSample/default.aspx containing Image Uploader.

Let us see how to specify the URL to upload script upload.aspx using different ways:
  1. Absolute path
    Using this way you need to pass full URL to upload.aspx script via Action property:
    iu.addParam("Action", "http://www.aurigma.com/ImageUploaderSample/upload.aspx");
  2. Relative path

    a. If you specify the path to upload.aspx using this way:
    iu.addParam("Action", "/upload/upload.aspx");

    It means that upload.aspx will be requested by URL: http://www.aurigma.com/upload/upload.aspx.

    b. If you use this method:
    iu.addParam("Action", "./upload/upload.aspx");

    So your upload script will be: http://www.aurigma.com/ImageUploaderSample/upload/upload.aspx.

    c. In this case:
    iu.addParam("Action", "upload/upload.aspx");

    You can find upload.aspx on server by this URL: http://www.aurigma.com/ImageUploaderSample/upload/upload.aspx.

    d. If you point the path to upload.aspx like this one:
    iu.addParam("Action", "upload.aspx");

    It means that your upload.aspx file is here: http://www.aurigma.com/ImageUploaderSample/upload.aspx.

You can get more information about Action property in this article: Action property.

Aurigma Support Team

Follow Aurigma on Twitter!
Daf
Posted: Tuesday, June 16, 2009 8:48:05 AM
Rank: Member
Groups: Member

Joined: 6/16/2009
Posts: 12
Points: 36
Link Broken
Could not find file 'C:\...\ImageUploader\auriuImageUploaderClassActionTopic.htm'.
Dmitry
Posted: Tuesday, June 16, 2009 10:49:50 PM
Dmitry's avatar
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 985
Points: 1,203
Thanks for letting us know. I fixed the link.

Sincerely yours,
Dmitry Sevostyanov.

Follow Aurigma on Twitter!
Users browsing this topic
Guest

Add Reply New 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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.