Hi ibhadelia,
It just do one post back, please try the example below.
When you click on the post back button, the page will do a post back and label1 will add "-1".(click a few times to test it)
Then try upload multiple files, you can see the label1 just add one "-1" in it.
<%@ Page Language="C#" %>
<%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
<!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 id="Head1" runat="server">
<title>example</title>
</head>
<script runat="server">
protected override void OnLoad(EventArgs e)
{
if (IsPostBack)
{
label1.Text += "1-";
}
base.OnLoad(e);
}
</script>
<body>
<form id="form1" runat="server">
<asp:Label ID="label1" runat="server"></asp:Label>
<CuteWebUI:UploadAttachments ID="uploader1" runat="server">
</CuteWebUI:UploadAttachments>
<asp:Button ID="button1" runat="server" Text="postback" />
</form>
</body>
</html>
Regards,
Ken