[CLOSED] FileUploadField Causes DirectMethod to fail

  1. #1

    [CLOSED] FileUploadField Causes DirectMethod to fail

    I'm having an issue with a page that has a FileUploadField. When trying to call a DirectMethod unrelated to the file upload field, the page goes blank. Please see the following example, try clicking the "Test Direct Method" button and you should see the page go blank. If you remove the FileUploadField, the issue goes away. I believe this is a new issue in Ext.NET 4.3 that didn't exist in 4.2, but not 100% sure.

    <%@ Page Language="C#" %>
    
    <script runat="server">
            [DirectMethod]
            public void TestDirect()
            {
           
            }
        
    </script>
    
    <!DOCTYPE html>
    
    <html>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
    
            <ext:FileUploadField runat="server" ButtonOnly="true">
            </ext:FileUploadField>
            <ext:FormPanel Width="100" runat="server">
                <Buttons>
                    <ext:Button runat="server" Text="Test Direct Method">
                        <Listeners>
                            <Click Handler="App.direct.TestDirect();"></Click>
                        </Listeners>
                    </ext:Button>
                </Buttons>
             </ext:FormPanel>
        </form>
    </body>
    </html>
    Last edited by fabricio.murta; Aug 29, 2017 at 6:02 PM.
  2. #2
    Hello @tylert!

    For this issue, please follow this thread:

    - FileUploadField breaking Html forms on 4.3.

    Visit it and subscribe to it, we're going to respond there when we applied the fix to Ext.NET per se.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Fabricio,

    Thanks -- I should have searched the forum first. I will reply on that post.

    Tyler

Similar Threads

  1. [CLOSED] Ext.Net 2.0 - convert 1.2 version Ext.Net MVC fail
    By romeu in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Apr 02, 2012, 1:42 PM
  2. [CLOSED] validation Fail
    By majestic in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 05, 2009, 4:36 AM
  3. Combo dropdown fail
    By JonG in forum 1.x Help
    Replies: 0
    Last Post: Jun 15, 2009, 8:51 AM
  4. ScriptManager in 2.0 app Causes CSS to fail
    By Tbaseflug in forum Bugs
    Replies: 0
    Last Post: Apr 22, 2009, 1:52 PM
  5. [CLOSED] validation fail
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 12, 2009, 5:45 AM

Posting Permissions