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

Apply CSS Class not working for images in IE9

4 Answers 49 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 30 Jun 2011, 06:03 PM
If I specify a content area CSS class like this:
img.right-align
{
    float: right;
    margin: 5px 0 5px 5px;
}
then the ApplyCssClass toolbar will not apply it to the selected image in IE9. It works in Firefox.
In IE9 if I right-click on the image and choose properties, then I can apply the class.
However, Clear Class from the ApplyCssClass toolbar also only works in Firefox, and Clear Class from the properties window doesn't work in Firefox or IE9.

4 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 04 Jul 2011, 01:38 PM
Hi Jon,

I tried to reproduce the problem but to no avail. Could you please provide more detailed information on the specific scenario?
  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application? If you are using version prior Q1 2011 SP2, could you try to upgrade to it and see if the problem still exists?
  • Are you able to reproduce the problem on the live demos? If so, could you please provide the exact steps the need to be executed in order to reproduce the issue?
  • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

In addition, I have prepared a video demonstrating my test. Could you please check if I am doing something wrong?
http://screencast.com/t/xmlBeGEKv9jp
Looking froward to hearing from you,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jon
Top achievements
Rank 1
answered on 04 Jul 2011, 07:54 PM
Hi Dobromir,

Thank you for your reply. I opened a support ticket (440258) and used it to upload a solution that demonstrates the problem.

Jon
0
Rumen
Telerik team
answered on 05 Jul 2011, 09:30 AM
Hello Jon,

I have already answered your support ticket. For your convenience I have pasted below my answer:

The problem is due to that you are using a very old version 2009.3.1314.35 of RadEditor for ASP.NET AJAX, which is released much before the launch of IE9. We introduced official support of IE9 in Q1 2011 (version 2011.1.315) of RadControls for ASP.NET AJAX.

In order to fix the problem you could either choose to:
  • Migrate to the latest build which is Q1 2011 SP2 - it offers support for all major browsers
  • OR keep the old version but render the page in IE8 mode in IE9 using the following meta tag:
  • <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />  

Best regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jon
Top achievements
Rank 1
answered on 07 Jul 2011, 10:22 PM
From Dobromir on the support ticket I found out that in fact the error is in Q1 2011 (2011.1.315) which was what I was using, but has been fixed in Q1 2011 SP2 (2011.1.519).

Problem solved!
Tags
Editor
Asked by
Jon
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Jon
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or