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

Table wizard css style selector

4 Answers 200 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 15 Oct 2009, 03:32 AM
Hi team,

Table wizard have some styles predefied in one style selector like "telerik-re table1"(Table properties,CSS Class Layout).
How to change and add my custom styles in this dropdown ?

Regards

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Oct 2009, 07:51 AM
Hi Pierre,

The external Style sheet loaded in the Table Wizard can be edit by using the TableLayoutCssFile property of the RadEditor. You can find more information about this editor's feature in the following example: Table Properties CSS Class Layout tool.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Martin
Top achievements
Rank 1
answered on 24 Feb 2010, 03:15 PM

I found that adding

<property name="TableLayoutCssFile">(href to css)</property>
 
to ConfigFile.xml does what you want.

0
Ted
Top achievements
Rank 1
answered on 17 Feb 2011, 09:26 PM
Using the latest version of Rad Editor, and using a custom ToolsFile, How can I get my editor to show the table properties at the bottom like these examples do.  I know I can right click and get to the table properties.  is that just the new way?  if so, how can I change the styles that are in the Table Properties.   I have my tableLayoutCSS.css file and my editor control looks like this

<telerik:RadEditor ID="_Editor" runat="server" Height="300px"  TableLayoutCssFile="~/Styles/TableLayoutCSS.css"
                                                   Width="90%" ToolsFile="~/Admin/Toolsfile.xml" AllowScripts="True" 
                                                   SkinID="DefaultSetOfTools"  EditModes="Design" ContentAreaMode="Div" 
                                                   StripFormattingOptions="MSWordRemoveAll,ConvertWordLists">
                                                       <Content>
                                                       </Content>                                                        
                                                       <Paragraphs>
                                                           <telerik:EditorParagraph Title="<p class='noPaddingParagraph'>Normal No Padding</p>" Tag="<p class='noPaddingParagraph'>" />
                                                           <telerik:EditorParagraph Title="<H1 class='customH1'>Heading 1</H1>" Tag="<H1 class='customH1'>" />
                                                           <telerik:EditorParagraph Title="<H2 class='serif'>Heading 2</H2>" Tag="<H2 class='serif'>" />
                                                       </Paragraphs>
                                               </telerik:RadEditor>
0
Rumen
Telerik team
answered on 22 Feb 2011, 10:22 AM
Hello Ted,

Are you talking about the Properties Inspector module of RadEditor which is shown when a table element is selected in the content area? Please, see this screenshot for more information: http://screencast.com/t/Z7t31R6g.
You can enable this module via your custom ToolsFile.xml file by setting the following tag:

<module name="RadEditorNodeInspector" dockingZone="Module" enabled="true" visible="true" />
inside the <modules> tag.

You can find more information about the RadEditor's modules in this article: Types of Modules.

Best regards,
Rumen
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Editor
Asked by
Pierre
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Martin
Top achievements
Rank 1
Ted
Top achievements
Rank 1
Share this question
or