Telerik Control not working

4 posts, 0 answers
  1. AV
    AV avatar
    3 posts
    Member since:
    Aug 2015

    Posted 22 Apr Link to this post

    All my telerik controls are not working when deploy to server. 

    the screenshot 1.jpg shows the telerik control that I deploy on Live, the screenshot 2.jpg shows the telerik control that is my development laptop and it working perfectly. 

    Question

    Kindly help me if I need to register the dll link in the server?  

    Thanks in advance

  2. Vessy
    Admin
    Vessy avatar
    1384 posts

    Posted 26 Apr Link to this post

    Hi AV,

    It seems that the resources of the controls are not loaded properly on your deployment machine. Is there any error thrown on the page when the problem occurs?

    Basically, there are several possible reasons leading to a similar behavior:
    • The Telerik controls handler does not have enough permissions to access resources of the controls. You can give full permissions to it in a similar way:
      <location path="Telerik.Web.UI.WebResource.axd">
          <system.web>
              <authorization>
                  <allow users="*"/>
              </authorization>
          </system.web>
      </location>
    • The application is deployed under a load balanced environment and not all needed configurations to the application are applied. Please, refer this blog post: http://www.telerik.com/blogs/integrate-radcontrols-for-asp.net-ajax-in-a-webfarm-or-webgarden
    Last but not least, you can try loading the resources of the controls (both styles and scripts) through our CDN by enabling it in the following way:
    <telerik:RadScriptManager runat="server" EnableCdn="true"></telerik:RadScriptManager>
    <telerik:RadStyleSheetManager runat="server" CdnSettings-TelerikCdn="Enabled"></telerik:RadStyleSheetManager>


    Regards,
    Vessy
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. AV
    AV avatar
    3 posts
    Member since:
    Aug 2015

    Posted 04 May Link to this post

    Thank you Vessy for the reply, 

    I did try adding this in our webconfig but still not working. 

    <location path="Telerik.Web.UI.WebResource.axd">
        <system.web>
            <authorization>
                <allow users="*"/>
            </authorization>
        </system.web>
    </location>

    For the <telerik:RadScriptManager runat="server" EnableCdn="true"></telerik:RadScriptManager>

    the EnableCdn="true" is not existing methods inside the telerik control 

    Any other advise, I feel the issue is in the machine key.

    Do you know how i can overwrite using web.config with telerik as this server is also shared with other sites? 

    Regards,

    andrew

  5. Vessy
    Admin
    Vessy avatar
    1384 posts

    Posted 09 May Link to this post

    Hi Andrew,

    I assume that you are using .Net3.5 of earlier version of the framework. You can try enableing the CDN of the RadSCriptManager like described here, e.g.:
    <telerik:RadScriptManager
        runat="server"
        ID="RadScriptManager1">   
        <CdnSettings TelerikCdn="Enabled" />
    </telerik:RadScriptManager>

    Regarding the configuration of the machine key (and the related reuirements in a load-balanced environment), I would stronly recomend to examine in details the following blog post and apply all configuration given there:
    How to integrate RadControls for ASP.NET AJAX in a WebFarm or WebGarden scenario

    Regards,
    Vessy
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top