[CLOSED] MVC - FileuploadField - IE

  1. #1

    [CLOSED] MVC - FileuploadField - IE

    Hi there,

    A MVC web application. There is simple form containing fileuploadfield and a button. The button will fire an action on controller.

    
            public ActionResult Method()
            {
                var upload = this.GetCmp<FileUploadField>("certificate");
                ServiceResult result;
                if (!upload.HasFile)
                    return this.Direct();
    
    
               // do something
    
    
                return new DirectResult("Ext.WindowMgr.getActive().close();");
            }
    It is working well on FF and Chrome but IE. On IE, I got the following thing



    Do you have any idea?

    Thanks in advance.
    Attached Thumbnails Click image for larger version. 

Name:	2014-10-21_1739.png 
Views:	27 
Size:	62.0 KB 
ID:	15702  
    Last edited by Daniil; Oct 28, 2014 at 5:29 PM. Reason: [CLOSED]
  2. #2
    Hi @thchuong,

    I think it needs to set up IsUpload to true for a DirectResult.

Similar Threads

  1. [CLOSED] FileUploadField in GridPanel
    By jamesand in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 22, 2013, 2:12 PM
  2. X.GetCmp and FileUploadField
    By josecano in forum 1.x Help
    Replies: 2
    Last Post: May 01, 2013, 8:56 AM
  3. FileUploadField help
    By osxboy in forum 1.x Help
    Replies: 0
    Last Post: Jul 26, 2010, 10:50 AM
  4. FileUploadField can't work
    By Fresh.Killer in forum 1.x Help
    Replies: 1
    Last Post: Dec 07, 2009, 9:26 AM
  5. FileUploadField
    By matthaus in forum 1.x Help
    Replies: 0
    Last Post: Jun 01, 2009, 7:05 AM

Posting Permissions