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

Applying Theme to GridHTMLEditorColumnEditor

1 Answer 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Michael asked on 21 Jul 2010, 04:44 PM
I have been trying to define the structure of the radEditor in my grid with a Theme as detailed in the RadEditor documentation (http://www.telerik.com/help/aspnet-ajax/usingthemes.html) but have had no success. Is this even possible?

Here is the code I am using. I added a reference to my theme in the page directive.

ASPX Page

            <telerik:GridHTMLEditorColumnEditor ID="NarrativeEditor" runat="server">
                <Editor runat="server" SkinID="ScorecardInput">
                </Editor>
            </telerik:GridHTMLEditorColumnEditor>

Skin
 <%@ Register TagPrefix="telerik"  Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadEditor runat="server" SkinId="ScorecardInput"  Skin="Windows7" Width="400px" Height="300px" ToolbarMode="Default" ContentFilters="DefaultFilters"  EditModes="Design,Html">
    <SpellCheckSettings AllowAddCustom="False" />
    <Tools>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="PastePlainText" />
            <telerik:EditorTool Name="StripAll" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="AjaxSpellCheck" />
            <telerik:EditorTool Name="FindAndReplace" />
        </telerik:EditorToolGroup>
    </Tools>
  <Content>
      <b>Setting inline properties</b>
  </Content>
</telerik:RadEditor>

The Format Code option does not seem to work for me. It just hangs - possible from the heavy firewall and proxy.

Mike

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Jul 2010, 02:07 PM
Hi Michael ,

Please try to set EnableEmbeddedSkins="false" either in the theme's skin file, or directly in the control's server tag on the web page. This will prevent the control from registering embedded CSS files automatically and it will count on CSS files registered by the ASP.NET theme.

Give this suggestion a try and let me know if it helps.

Sincerely yours,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Michael
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Share this question
or