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



Go to last post Go to first unread
#1 Posted : Wednesday, February 20, 2008 9:31:53 AM(UTC)

Rank: Member

Groups: Member
Joined: 12/17/2007(UTC)
Posts: 21

The default value for the Action function is the current page:

iu.addParam("Action", ".");

What function do you use to allow server-side code to go on the same page AND keep that server-side code from firing when the page is first opened.
Eugene Kosmin  
#2 Posted : Wednesday, February 20, 2008 2:23:04 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

Was thanked: 30 time(s) in 30 post(s)

Image Uploader’s upload request contains some specific upload fields, such as FileCount, PackageIndex and so on. You can determine whether request come from IU by this fields or by actually upload file count.

<%@ Page Language="c#" %>

<script runat="server">
void Page_Load()
    if (Request.Files.Count > 0)

		<title>Aurigma Image Uploader</title>
		<script language="javascript" src="../iuembed.js"></script>
	<body bgcolor="#c3daf9">

	<script language="javascript">
		var iu = new ImageUploaderWriter("ImageUploader", 800, 600);

But commonly Action property is not used with default value.
Best regards,
Eugene Kosmin
The 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.