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

Display problem - Editor is not recognizable - Styles Problem?

2 Answers 30 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 19 Apr 2011, 07:43 PM
Hello,

I have a few RadEditors in their respective EditTemplates in a RadGrid.  When the Edit template shows the RadEditor is not recognizable.  It is as though the styles are not present.  Simalar to when you load a page that is using .css but the page cannot find it and it loads all wacky with no layout.

This problem showed up a couple of weeks ago. I am not sure how it was fixed but it stopped and now is back. It might be a JavaScript error but since I have had them working I have not changed anythign relevant to the RadEditors in teh project.

I have tried commenting out the RadEditor in question and just placing a new RadEditor tag in the markup beside it, setting the name to the same ID and the runat property to server.  The result is the same.  No event handlers or modifications, just a factory RadEditor tag and the problem persists.  There is two other RadEditors in EditTemplates of adjacent RadGrids and they are all not working.

Tried clearing cache, rebooting etc. 
One other thing that is probably related is that there are two RadDatePickers on the form and the calendar styles seem to be not present as well.

The links below are screen shots.  The RadEditor should be to the right of the Green Div that displays the edit controls.  All you see are a series of dots and slashes in a vertical column.  The second images shows a few of the editor's links as links that should be buttons.  Those are located in the center of the images.  It overlays the RadGrid rows beneath it.

Thanks for any help.  It is driving me crazy.
Reid


http://www.agoware.com/RadEditorImg1.JPG
http://www.agoware.com/RadEditorImg2.JPG

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Apr 2011, 12:41 PM
Hello Reid,

The problem could be due to the Internet Explorer CSS limits. Could you please add a RadStyleSheetManager to your page and see whether the problem still persists?

Here is an example how to combine the embedded resources of RadEditor using RadStyleSheetManager:
Copy Code
Copy Code
<Telerik:RadStyleSheetManager ID="SSH1" EnableStyleSheetCombine="true" runat="server">
<StyleSheets>
<Telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Editor.css" />
<Telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Default.Editor.Default.css" />
<Telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Window.css" />
<Telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Default.Window.Default.css" />
</StyleSheets>
</Telerik:RadStyleSheetManager>

You can also fix the problem by registering the external skins of RadEditor or the CDN Skins.

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
Reid
Top achievements
Rank 2
answered on 20 Apr 2011, 03:03 PM
Hello Rumen,

Thank you for the fast response.  That solved it. 

Initially I was also running into an issue with the background of the editor adopting the body style's background color.  I researched that and found that you had to include an additional style sheet to specifiy the background color you wanted.  I did that and it was working until I posted about this problem.  Now the editor looks as it should with no style or toolbar issues.

Very much appreciated.

Thanks,
Reid
Tags
Editor
Asked by
Reid
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Reid
Top achievements
Rank 2
Share this question
or