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

[Solved] RadEditor ConfigFile not honored as well as wasted space for footer?

1 Answer 105 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Web
Top achievements
Rank 1
Web asked on 14 May 2008, 09:04 PM
I have a RadEditor on my ASP page.  The code is below.  I am trying to use a configfile but it ignores the setting.  There is no ConfigFile property in visual studio as there is with the ToolsFile.  Is it still applicable?

Why is there a blank area at the bottom of the RadEditor?  I set my editor to have a height of 300px.  The area it takes up is 300px, however; the content area is shrunk and there is about 90px of wasted space beneath the content area.  If I click on the tab to show the HTML code, the content area increases to fill the remaining 90px of space.  If I click back on edit mode, then the content area shrinks again.

<telerik:RadEditor ID="emailBodyHTML" runat="server"   
    ConfigFile="~/ConfigFile.xml" Width="840px" Height="300px">  
    <Content></Content>  
</telerik:RadEditor> 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 May 2008, 11:19 AM
Hi Web,

In RadEditor for ASP.NET AJAX the ConfigFile.xml is no longer supported. However, RadEditor can be easily configured to use ASP.NET 2.0 Themes the same way you would do for an ordinary ASP.NETcontrol. A chosen theme can be shared among multiple editors and thus make group re-configuration extremely easy. This ensures that configuration of all editors is done from a single location.

For more information on this topic, please, review the following help article: Using Themes
.

I believe that the small content area size is due to the size of the editor's modules. My suggestion is to hide them by setting, e.g.

protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        RadEditor1.Modules.Remove();
    }
}

If the problem is other, please open a support ticket and send a screenshot of the problem and a sample project that demonstrates the issue.

Best regards,
Rumen
the Telerik team

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