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

4 posts, 0 answers
  1. Akila Kumarasamy
    Akila Kumarasamy avatar
    25 posts
    Member since:
    Dec 2009

    Posted 18 May 2011 Link to this post

    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.
  2. Akila Kumarasamy
    Akila Kumarasamy avatar
    25 posts
    Member since:
    Dec 2009

    Posted 19 May 2011 Link to this post

    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.
  3. Rumen
    Admin
    Rumen avatar
    13803 posts

    Posted 20 May 2011 Link to this post

    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.

  4. Akila Kumarasamy
    Akila Kumarasamy avatar
    25 posts
    Member since:
    Dec 2009

    Posted 20 May 2011 Link to this post

    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..
Back to Top