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

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

3 Answers 42 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
mamtha
Top achievements
Rank 1
mamtha asked on 10 Feb 2009, 06:28 AM
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 ?

3 Answers, 1 is accepted

Sort by
0
mamtha
Top achievements
Rank 1
answered on 10 Feb 2009, 06:58 AM
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..
0
mamtha
Top achievements
Rank 1
answered on 10 Feb 2009, 07:01 AM
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..
0
Stanimir
Telerik team
answered on 11 Feb 2009, 02:43 PM
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.
Tags
WebParts for SharePoint
Asked by
mamtha
Top achievements
Rank 1
Answers by
mamtha
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or