This is a migrated thread and some comments may be shown as answers.

Problems with Upload widget in MVC with IE7

1 Answer 42 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Berry
Top achievements
Rank 1
Berry asked on 19 May 2014, 04:43 PM
This code works properly in IE8+, but in IE7 it uploads the file twice:

@(Html.Kendo().Upload()
    .Name("uploadFile")
    .Multiple(false)
    .Async(save => save
                              .Save("DoSomething", "SomeController", new { ... })
                              .AutoUpload(true))
      .Events(events => events 
                  .Upload("...")
                  .Success("...")
                  .Error("..."))
)

I also can't disable the upload widget via this command because $("#uploadFile").data("kendoUpload") returns undefined:
     $("#uploadFile").data("kendoUpload").disable();

My Kendo.Mvc version is v4.0.30319.

Any ideas?
Thanks!
--Berry

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 20 May 2014, 10:10 AM
Hello Berry,


There is a browser bug in Internet Explorer 7 related to similar scenario i.e. the change event of the input type file elements is fired a second time on blur. Since the Upload widget is using the change event to track file selection, the file is showing twice in the list. Nevertheless in the case when the multiple option is set to false, I am unable to reproduce it.

As for the second issue, the widget is disabling as expected on my side.

In order to assist further, could you please send me a small isolated example, which demonstrates the described problems? I am looking forward to hearing from you.

Regards,
Dimiter Madjarov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Upload
Asked by
Berry
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or