RadEditor not loaded after Using CloudFlare (Reverse Proxy)

2 posts, 0 answers
  1. Vinix
    Vinix avatar
    33 posts
    Member since:
    Jan 2008

    Posted 26 Jun 2012 Link to this post

    Recently I start using CloudFlare for my web site. After 1 day, I found that all pages with RadEditor failed to load the editor, displayed javascript error: Sys.InvalidOperationException. Some controls in Ajax Control Toolkit also failed as well.

    Since CloudFlare works like a reverse proxy, I thought this is the cause. Disable the service for this site worked around the problem, but how to make RadEditor work under reverse proxy?
  2. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 29 Jun 2012 Link to this post

    Hello,

    The problem is most likely due to that the proxy server is cashing the handlers and makes them invalid. For this reason the controls are unable to load their scripts and resources and do not work.

    To fix it you can exclude the Telerik specific handlers from the proxy caching OR use enable the CDN scripts as explained in the following help article: CDN Overview, e.g.

    <telerik:RadScriptManager
        ID="RadScriptManager1"
        runat="server">
        <CdnSettings TelerikCdn="Enabled" />
    </telerik:RadScriptManager>


    All the best,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top