Styles in the RADEDitor HTML with Image is not shown in the Preview

4 posts, 0 answers
  1. mamtha
    mamtha avatar
    3 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2009 Link to this post

    hi all,
     I am using RAD Editor HTML field control in my page layout. I am supposed to give some styles to the Text . If i am giving the style which has image with that is not getting displayed in the edit mode. Once if we "check in" the page or "Save and stop editing" only it works.

    Please let me know any work around to get the style applied in the edit mode it self ?
  2. mamtha
    mamtha avatar
    3 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2009 Link to this post

    Adding some more information regarding this issue.
    when the styles like 
    .custom-Bold{
    font-weight:bold;
    }
    is getting applied in the editmode itself.

    If we are using the styles like
    .Custom-download-pdf-left{
    BACKGROUND:url('../../../SiteCollectionImages/icon-pdf.gif') no-repeat 0 left;
    padding-left:15px;
    }

    I am gettting the empty space with the padding left of 15px but the icon-pdf.gif image is not getting displayed.
     Once the Page is "checked in" or "Save and stop Editing" then we could see the image..

  3. mamtha
    mamtha avatar
    3 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2009 Link to this post

    Adding some more information regarding this issue.
    when the styles like 
    .custom-Bold{
    font-weight:bold;
    }
    is getting applied in the editmode itself.

    If we are using the styles like
    .Custom-download-pdf-left{
    BACKGROUND:url('../../../SiteCollectionImages/icon-pdf.gif') no-repeat 0 left;
    padding-left:15px;
    }

    I am gettting the empty space with the padding left of 15px but the icon-pdf.gif image is not getting displayed.
     Once the Page is "checked in" or "Save and stop Editing" then we could see the image..
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 11 Feb 2009 Link to this post

    Hello Mamtha,

    In our online help you can find information on Defining custom CSS styles .

    I hope that you will find the article helpful.

    All the best,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top