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

IE8 Compatibility View [Select] doesn't do anything

2 Answers 107 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 27 Apr 2010, 04:37 PM
2009.3.1503.35

<meta http-equiv="x-ua-compatible" content="IE=8" />

On my page I indicated to be compatible with IE8, however if the user forces the setting to "Display all websites in Compatibility View" then the Upload's add/select button will not do anything when clicked.

Is this the expected behavior or fixed in later version of Upload?

Update:  My page has this, if this exists plus in Compatibility View is turned on, then [Select] doesn't do anything.
    <meta http-equiv="x-ua-compatible" content="IE=8" />

                    <telerik:RadUpload ID="myUpload" runat="server" InputSize="80" Width="700px" Skin="Simple"  
                        ControlObjectsVisibility="RemoveButtons"  
                        AllowedFileExtensions=".msg,.mht,.txt,.pdf,.htm,.html,.doc,.docx,.xlsx,.xls,.pptx,.ppt,.gif,.jpg,.tif" 
                        OnClientFileSelected="checkExtension"     
                        OnClientDeleting="OnClientDeletingHandler" 
                        OnClientDeletingSelected="OnClientDeletingSelectedHandler"
                    </telerik:RadUpload>  

2 Answers, 1 is accepted

Sort by
0
Accepted
Genady Sergeev
Telerik team
answered on 30 Apr 2010, 09:58 AM
Hi Lenny_shp,

The mode that you have set should not be used, IE will never turn to that mode on its own. This means that your users's browsers wont work into that mode unless explicitly forced. The modes, that IE is expected to be used with, are:

1) Browser mode IE Standards ; Document mode IE 8 standards - RadUpload will work as expected.
2) Browser mode IE Compat View ; Document Mode IE 7 standards RadUpload will work as expected.

Browser Mode IE Compat view ; Document mode - IE8 standards  - RadUpload wont' work in all cases. However, keep in mind that this mode can be hardly turned on by the regular user. I suggest that you change your meta directive so that it no longer forces the browser to be in standards mode. If your pages have property <doctype> directive IE will automatically turn on the respective mode.

Kind regards,
Genady Sergeev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chris
Top achievements
Rank 1
answered on 14 Dec 2010, 01:38 AM
Just something to think about. Your assertion regarding IE Compatibility View + IE8 Standards: "However, keep in mind that this mode can be hardly turned on by the regular user" is mostly right, except on intranets. In our organization IE8 has the "Display intranet sites in Compatibility View" checked (this is a default setting for IE8), and that preference overrides the Browser Mode. So it's quite easy to end up with the "bad" combination of Browser/Document mode that causes RadUpload to fail.

We hacked a workaround for our application by allowing individual pages to override the X-UA-Compatibility meta tag of the Master Page on a case-by-case basis, setting the tag to IE=EmulateIE7 for the affected page. But it's just that: a hack. It'd be better if your scripting could work correctly regardless of Browser Mode.

Ultimately, yes, we'd like our organization to turn off the intranet compatibility setting via Group Policy, but that's going to take some time.
Tags
Upload (Obsolete)
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Genady Sergeev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or