fileuploaderAjax in iframe

Dec 8, 2009 at 12:46 PM

Hi,

I created a aspx page(UploadFile.aspx) which includes FileUploaderAjax control. I want to call this page from another aspx page(Sample.aspx) over iframe control. When i tried this the FileUploader control is not rendering in  iframe.

UploadFile.aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UploadFile.aspx.cs" Inherits="UploadFile" %>

<%@ Register Assembly="FUA" Namespace="Subgurim.Controles" TagPrefix="cc1" %>

<head runat="server">
    <title>Untitled Page</title>
</head>
<body runat="server">
    <form id="form1" runat="server">
    <div>
    <cc1:FileUploaderAJAX ID="FileUploaderAJAX1" runat="server" MaxFiles=5 />
    </div>
    </form>
</body>
</html>

Sample.aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sample.aspx.cs" Inherits="Sample" %>


<head runat="server">
    <title>Untitled Page</title>
</head>
<body  runat="server">
    <form id="form1" runat="server">
    <div>
   
<iframe id="ContentArea_FILECONTAINER" frameborder="0" src="UploadFile.aspx" style="height:50px;border-width:0;" SCROLLING="NO"></iframe>       
       
    </div>
    </form>
</body>
</html>


 İf i call this Upload.aspx page directly its working. Any ideas or help would really do!

Thanks,

Sertan

 

Jun 3, 2010 at 3:58 AM

I Sertan,  I was having the same issue with iframes as well as master pages.  By any chance did you figure how to use the upload control with iframes or masterpages?

 

Thanks