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

Telerik Control not working

3 Answers 662 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
AV
Top achievements
Rank 1
AV asked on 22 Apr 2016, 10:07 AM

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

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 26 Apr 2016, 03:23 PM
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.
0
AV
Top achievements
Rank 1
answered on 05 May 2016, 03:28 AM

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

0
Vessy
Telerik team
answered on 09 May 2016, 02:54 PM
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.
Tags
General Discussions
Asked by
AV
Top achievements
Rank 1
Answers by
Vessy
Telerik team
AV
Top achievements
Rank 1
Share this question
or