Re: "File Browsing has been blocked." inside AJAX TabContainer

  •  12-14-2008, 6:36 AM

    Re: "File Browsing has been blocked." inside AJAX TabContainer

    Hi Terry,
     
    thank you for your answer but it still does not work correctly with IE7 and Flash10a.ocx. When I hit the "Postback" button and switch the panel and then click on "Upload" then the window "File Browsing has been blocked." appears. How can this be completly be fixed? I mean other multi upload controls like google work perfectly. Can you provide a clean solution?
     
    Also I don't understand your code. Can you please help me how I get your code to work with my code below?
    Many thanks for your help!
     
     

    <%@ 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>
View Complete Thread