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

Custom CSS style Display issue in IE for style name "Normal"

3 Answers 41 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Akila Kumarasamy
Top achievements
Rank 1
Akila Kumarasamy asked on 18 May 2011, 11:22 PM
Hi,

I have custom Style listed in Editor Apply CSS class dropdown. These styles are loaded from a style sheet and it works perfect in all browsers except IE and that too in IE all styles are loaded perfectly except one style named "Normal". I am sure there won't be any issues with that style because it is loading in FF and chrome. I am not sure whats going wrong. Can some one help me to load that style in IE also.

Thanks,
Akila.

3 Answers, 1 is accepted

Sort by
0
Akila Kumarasamy
Top achievements
Rank 1
answered on 19 May 2011, 09:13 PM
Hi,

By digging through the code, I found that when the Style are loaded, only in IE the style named ".Normal" is loaded as ".normal" and the array "_cssClassesHash" has the style as ".Normal" and thats the reason its not loading. So I added hack to change the ".normal" text to ".Normal" when comparing the array "_cssClassesHash", and now this comes up but again the problem is when I apply the style, in the HTML view of the editor the Style is added as "normal" instead of "Normal". So I added another hack while rending the Title attribute to check if it ".normal" to render as ".Normal". My question is why is it behaving like this just for IE and is it safe to add hacks as I did. Can any one please explain me? 

Thanks,
Akila.
0
Rumen
Telerik team
answered on 20 May 2011, 02:41 PM
Hello Akila,

I was unable to reproduce the reported problem with version 2011.1 413 of Telerik.Web.UI.dll. You can see my test in the attached video: http://screencast.com/t/c8pyDrmCXI.

If your solution works fine on your end, then you can use it.

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
Akila Kumarasamy
Top achievements
Rank 1
answered on 21 May 2011, 03:16 AM
Hi,

Thank you....we haven't upgraded to the latest yet, but finally I was able to fix it ...thank you so much for the reply..
Tags
Editor
Asked by
Akila Kumarasamy
Top achievements
Rank 1
Answers by
Akila Kumarasamy
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or