RadEditor not load the config file or any css resource

2 posts, 0 answers
  1. Guy
    Guy avatar
    2 posts
    Member since:
    Jan 2014

    Posted 21 Jan 2014 Link to this post

    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.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Jan 2014 Link to this post

    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.
Back to Top