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

Refresh CSS Styles

1 Answer 83 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 31 Oct 2007, 01:15 PM
I have been able to successfully see my styles in the CSS class drop down.  When I make changes to the CSS file (out in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls directory), refresh my page, I would have exected the styles would be updated to reflect my changes but they are not.  I suspect a caching problem.  What's the best process to reflect changes in the .css file in the css drop down?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Oct 2007, 02:00 PM
Hi Bob,

Please, review the following help article: Defining custom CSS styles.

You can also populate the style items in the Apply Css Class dropdown by opening the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor\ConfigFile.xml file

and setting the CssFiles property to point to an external css file containing your own css classes, e.g.

  <property name="CssFiles">
    <item>~/test.css</item>
  </property>

Save the ConfigFile.xml, delete your browser cache, restart the browser and test the editor.

Greetings,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
Bob
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or