[CLOSED] FormPanel and FileUploadField: Access denied in IE9

  1. #1

    [CLOSED] FormPanel and FileUploadField: Access denied in IE9

    Hi,

    In Ext.NET 2.x FormPanel not rendering the component tag "form".

    Running submit, dynamically generates the form and insert the components inside, sending data to the server.

    If the form is inserted through a partial view result in an iframe or script injection, selecting a file and try to send the data, causing "Access denied."

    Is there any way for the FormPanel generate html code as in Ext.NET 1.x?

    Greetings,
    Last edited by Daniil; Sep 18, 2012 at 12:29 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I am unable to reproduce an "Access denied" error running the sample below.

    Is it reproducible on your side with this example? If not, could you provide your sample?

    Parent Page
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html>
    
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
            
        <ext:Panel runat="server" Height="200" Width="300">
            <Loader runat="server" Url="Test.aspx" Mode="Frame" />
        </ext:Panel>
    </body>
    </html>
    Child Page
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html>
    
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        
        <ext:FormPanel runat="server">
            <Items>
                <ext:FileUploadField runat="server" FieldLabel="Choose a file" />
            </Items>
            <Buttons>
                <ext:Button runat="server" Text="Submit">
                    <Listeners>
                        <Click Handler="this.up('form').submit();" />
                    </Listeners>
                </ext:Button>
            </Buttons>
        </ext:FormPanel>
    </body>
    </html>

Similar Threads

  1. Fileuploadfield in one click - htmlfile access is denied error
    By vishal.jhala@gmail.com in forum 1.x Help
    Replies: 1
    Last Post: Aug 08, 2011, 6:05 PM
  2. [CLOSED] WebPart and access denied to web.config
    By krzak in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 14, 2011, 11:54 AM
  3. Replies: 0
    Last Post: Oct 30, 2009, 3:57 AM
  4. Replies: 3
    Last Post: Aug 13, 2009, 2:38 PM
  5. [CLOSED] htmlFile: Access Denied
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 27, 2009, 11:40 AM

Posting Permissions