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

Style Issue within Sharepoint

8 Answers 56 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Emir Prcic
Top achievements
Rank 1
Emir Prcic asked on 16 Jun 2011, 02:46 PM
Hy,

It seems that there is a style issue (maybe it has something to do with the one of the Radtoolbar). While the color of the text for "Design", "HTML", "Preview" is shown correctly under Firefox, it is kind of purple when showing the page with Internet Explorer (IE 9). I´ve tested the Skins Windows7 and Vista.

I am using the the Controls within a Webpart in an Sharepoint 2010 Environment.

Could you test it on your side?

8 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 17 Jun 2011, 07:20 AM
Hello Emir,

Could you confirm that you are using the latest version of RadEditor for SharePoint 2010, which currently is 6.1.5? In addition could you send me the ConfigFile.xml and ToolsFile.xml files, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/6.1.5.0__1f131a624888eeed/Resources/ folder? A couple of screen shots, where I can actually see the problem, will be of great help also.


Best wishes,
Stanimir
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
Emir Prcic
Top achievements
Rank 1
answered on 30 Jun 2011, 10:51 AM
Sorry for the late answer,

I am not using a special RadEditor for Sharepoint 2010 (didn´t even know that this exists *g*).

I am creating a Webpart, in which I use the RadEditor control (contained in the RadControls for ASP.NET AJAX Q1 2011 NET 35)

0
Stanimir
Telerik team
answered on 30 Jun 2011, 01:20 PM
Hi Emir,

When It comes to MOSS or SharePoint 2010, we always recommend using of the specially designed RadEditor for MOSS or SP2010. What you need to do is install RadControls for SP2010 (review this article http://www.telerik.com/help/aspnet-ajax/moss-installing_radeditor__radgrid_web_parts_on_sharepoint_2010.html ). Then use the SPRadEditor class, which is defined in the Telerik.SharePoint name space of the RadEditorSharePoint assembly.
RadEditor for SP2010 has specially designed content provider, which allows you to work with SharePoint's libraries.


Regards,
Stanimir
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
Emir Prcic
Top achievements
Rank 1
answered on 30 Jun 2011, 03:50 PM
I am using a RadEditor within a Custom Webpart (Visual Webpart) along with other controls.

I am filling the contents with data coming from an external database. So in this case I cannot use the RadEditor-Webpart.

I simply need the control itself, and there is no problem with it, besides the mentioned wrong forecolor of the "Design"/"HTML"/"Preview" Buttons in IE9
0
Stanimir
Telerik team
answered on 06 Jul 2011, 07:58 AM
Hi Emir Prcic,

If the only problem is the forecolor of the "Design"/"HTML"/"Preview" Buttons in IE9, you can try using the IE developers toolbar to inspect what styles are applied over the buttons. There might be some global styling which is distorting the default appearance of the controls?

Also can you provide me with a little bit more information. Send me the source of the page where the editor is loaded. This includes html an all css. A couple of screen shots and instructions how to reproduce the issue on our side will be helpful as well. If you provide me with live url (where I can actually see the problem) I will be able to use the developers tool bar and inspect the styling my self.


All the best,
Stanimir
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Emir Prcic
Top achievements
Rank 1
answered on 08 Jul 2011, 09:33 AM
Hy

I found out that the purple color in IE came from a Sharepoint Stylesheet, setting the color for "a:visited". I created a custome style with a:visited and applied it to the editor and it works well now. I just hat to set the style also to "a:link" in order to have the same output in firefox.

.editorStyle a:visited, a:link
{
    color: #000000 !important;
    text-decoration: none !important;
    font: 12px/20px "Segoe UI" ,Arial,sans-serif !important;
}


It seems that IE uses the last entry set for a:visited, while firefox uses a:link.
0
Emir Prcic
Top achievements
Rank 1
answered on 12 Jul 2011, 08:30 AM
Ok,

thats not good solution either. Now all Links on the whole site where the webpart is situated are using the style. So I can´t use that. I thought that If a apply the style to the RadEditor control, it only would be used for that.

Is there any other way?
0
Rumen
Telerik team
answered on 12 Jul 2011, 03:43 PM
Hello Emir,

Have you tried by any chance the CSS based solution provided in the following KB article: Overriding Global CSS Styles Inherited by RadEditor?

All the best,
Rumen
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Editor
Asked by
Emir Prcic
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Emir Prcic
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or