Hello All,
Can anyone tell me if you can define an external css file via ConfigFile.xml? I'm trying with the following code and it doesn't seem to work:
<configuration>
<property name="CssFiles">
<item>~/DesktopModules/TelerikWebUI/RadEditorProvider/content.css</item>
</property>
</configuration>
Thank you.
Can anyone tell me if you can define an external css file via ConfigFile.xml? I'm trying with the following code and it doesn't seem to work:
<configuration>
<property name="CssFiles">
<item>~/DesktopModules/TelerikWebUI/RadEditorProvider/content.css</item>
</property>
</configuration>
Thank you.
6 Answers, 1 is accepted
0
Hi Vinny,
You have submitted a post in the RadEditor for ASP.NET AJAX forum, however RadEditor for ASP.NET AJAX does not feature the ability to use an XML config file. Unlike the RadEditor Classic, the AJAX editor uses the built0in .NET 2.0 Theme mechanism to set properties.
Hence, in case you are referring to the RadEditor for ASP.NET AJAX, please use a standard .NET 2.0 .skin file to consider the editor, or set the value in the editor's ToolsFile.xml, as described here:
http://www.telerik.com/help/aspnet-ajax/externalcssfiles.html
Best regards,
Tervel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
You have submitted a post in the RadEditor for ASP.NET AJAX forum, however RadEditor for ASP.NET AJAX does not feature the ability to use an XML config file. Unlike the RadEditor Classic, the AJAX editor uses the built0in .NET 2.0 Theme mechanism to set properties.
Hence, in case you are referring to the RadEditor for ASP.NET AJAX, please use a standard .NET 2.0 .skin file to consider the editor, or set the value in the editor's ToolsFile.xml, as described here:
http://www.telerik.com/help/aspnet-ajax/externalcssfiles.html
Best regards,
Tervel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Vinny
Top achievements
Rank 1
answered on 11 Mar 2009, 01:17 PM
Hi Tervel,
I'm using the latest version of RadControls for ASP.NET and I'm using the RadEditor as my default editor in a DotNetNuke site. I see a ConfigFile.xml file in the TelerikWebUI/RadEditorProvider folder. The single entry in that file is:
I'm using the latest version of RadControls for ASP.NET and I'm using the RadEditor as my default editor in a DotNetNuke site. I see a ConfigFile.xml file in the TelerikWebUI/RadEditorProvider folder. The single entry in that file is:
<
property name="Skin">Default</property>
I can change that value to any skin and the editor does reflect the change. Can't other properties of the control be set in this file? The default editor in DotNetNuke is loaded dynamically so there isn't a specific page I can go to and configure the editor. I can do that when I place the editor on a specific page but not when it's dynamically loaded, as in the Edit Text page of the Text/HTML module. I thought I could configure the default instance using the ConfigFile.xml file.
Thanks,
Vinny
0
Hi Vinny,
If you use the AJAX versions of the controls, please note that the CssFiles property is now set through the ToolsFIle.xml, as described in the article I provided.
On a side note, for backwards compatibility the RadEditor wrapper for DNN does provide a ConfigFile property and functionality, which got things a bit confused in the first post.
I hope this helps,
Tervel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
If you use the AJAX versions of the controls, please note that the CssFiles property is now set through the ToolsFIle.xml, as described in the article I provided.
On a side note, for backwards compatibility the RadEditor wrapper for DNN does provide a ConfigFile property and functionality, which got things a bit confused in the first post.
I hope this helps,
Tervel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Vinny
Top achievements
Rank 1
answered on 11 Mar 2009, 02:36 PM
I did read the article. At present I have the CssFiles property set in the web.config file in the RadEditorProvider section. Is the preferred method to use ToolsFile.xml?
Also, since I'm implementing this in DNN can I set additional configuration properties in ConfigFile.xml since I can't do that for the default instances of the radeditor?
Thank you.
Also, since I'm implementing this in DNN can I set additional configuration properties in ConfigFile.xml since I can't do that for the default instances of the radeditor?
Thank you.
0
Accepted
Hi Vinny,
The preferred method for setting any of the editor's collections (css files, colors, fonts, etc.) is the tools file. The config file in DNN is used for setting properties that are not accessible from the tools file (http://www.telerik.com/help/aspnet-ajax/usintthetoolsfile.html) - e.g. for string properties like skin, client event handlers, dialog configuration, etc.
Regards,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
The preferred method for setting any of the editor's collections (css files, colors, fonts, etc.) is the tools file. The config file in DNN is used for setting properties that are not accessible from the tools file (http://www.telerik.com/help/aspnet-ajax/usintthetoolsfile.html) - e.g. for string properties like skin, client event handlers, dialog configuration, etc.
Regards,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Vinny
Top achievements
Rank 1
answered on 13 Mar 2009, 03:59 PM
Great. Thank you Lini.