I have a base webpage with the following aspx code and vb.net code behind and I can not get the onconfirmuplaod event to work any ideas why? The file does upload but no confirmation
APSX
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="amazonUpload.aspx.vb" Inherits="amazonUpload" %>
<%@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.FileUploader" %>
<%@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.DirectAmazonUploader" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<fjx:FileUploader ID="FileUploader1" runat="server">
<Adapters>
<fjx:DirectAmazonUploader OnConfirmUpload="FileUploader1_ConfirmUpload"
Path="1"
FileAccess="PublicReadWrite"
AccessKey="WebConfig:AmazonAccessKey"
SecretKey="WebConfig:AmazonSecretKey"
BucketName="origotree" />
</Adapters>
</fjx:FileUploader>
<br />
<br />
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
</div>
</form>
</body>
</html>
VB.net Code:
Partial Class amazonUpload
Inherits System.Web.UI.Page
Private Sub FileUploader1_ConfirmUpload(ByVal sender As Object, ByVal e As com.flajaxian.ConfirmUploadEventArgs)
Literal1.Text = "confirmed"
End Sub
End Class