Hi Terry,
it seems to be a bigger problem because after Postback always the message "File Browsing has been blocked."
That's not good. Please test my new code below:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Upload.aspx.vb" Inherits="Upload" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!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></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="Server"/>
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
<ajaxToolkit:TabPanel ID="Panel1" runat="server" HeaderText="Panel1">
<ContentTemplate>
Click on Panel2 and then on Upload
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="Panel2" runat="server" HeaderText="Panel2">
<ContentTemplate>
<CuteWebUI:Uploader runat="server" ID="Uploader1" MultipleFilesUpload="true" InsertText="Upload" >
<ValidateOption MaxSizeKB="10240"/>
</CuteWebUI:Uploader>
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>
<br />
<asp:Button ID="button1" runat="server" Text="Postback" />
</form>
</body>
</html>
The "Postback" button I put is new. Please load this code and then click on the "Panel2" and then the "Upload" Button.
-> "File Browsing has been blocked." appears
Now click back to "Panel1" and click on the "Postback" button and then back to "Panel2" and then "Upoad" button.
-> "File Browsing has been blocked." appears
I tested this with IE7 and Flash10 because most of our clients have this configuration.
Can you provide a solution for this problem?
Thanks!