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

RadEditor not load the config file or any css resource

1 Answer 59 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 21 Jan 2014, 11:02 AM
Hey ,

I have a .NET 4 web application using Telerik ASP.NET Ajax UI Controls library.
In some pages in my web application Im trying to use RadEditor.

I add this tag to my page : 

<telerik:RadEditor id="radBody" runat="server" ContentAreaMode="Div" />

I add the register rule to my page :
<%@ Register TagPrefix="rad" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

When i load my page the editor is totally broken (see the attached screenshot).

Now I tried anything like add httpHandlers to web.config and add CssFiles tag to the RadEditor tag.
I change some settings in the ConfigFile.xml of the RadEditor and nothing happened , its like the application not aware to the config file or any other css resources of the RadEditor component.

I really need to figure this out ASAP.


Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 22 Jan 2014, 11:29 AM
Hi

From your code I notice that in the Register tag you have set TagPrefix="rad" but in your code you are using telerik tag to access the controls. We must use the same Tagprefix for all the controls we used as follows.

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<telerik:RadEditor ID="RadEditor1" runat="server">
</telerik:RadEditor>

Thanks,
Shinu.
Tags
Editor
Asked by
Guy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or