Style Issue within Sharepoint

9 posts, 0 answers
  1. Emir Prcic
    Emir Prcic avatar
    27 posts
    Member since:
    Dec 2009

    Posted 16 Jun 2011 Link to this post

    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?

  2. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 17 Jun 2011 Link to this post

    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.

  3. Emir Prcic
    Emir Prcic avatar
    27 posts
    Member since:
    Dec 2009

    Posted 30 Jun 2011 Link to this post

    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)

  4. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 30 Jun 2011 Link to this post

    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.

  5. Emir Prcic
    Emir Prcic avatar
    27 posts
    Member since:
    Dec 2009

    Posted 30 Jun 2011 Link to this post

    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
  6. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 06 Jul 2011 Link to this post

    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!

  7. Emir Prcic
    Emir Prcic avatar
    27 posts
    Member since:
    Dec 2009

    Posted 08 Jul 2011 Link to this post

    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.
  8. Emir Prcic
    Emir Prcic avatar
    27 posts
    Member since:
    Dec 2009

    Posted 12 Jul 2011 Link to this post

    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?
  9. Rumen
    Admin
    Rumen avatar
    13748 posts

    Posted 12 Jul 2011 Link to this post

    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!

Back to Top