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

Restricted User getting "Telerik is undefined" error

2 Answers 18 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jiten
Top achievements
Rank 1
Jiten asked on 31 Jan 2014, 07:02 AM
Hi,
I am using the trial copy of telerik for asp.net. It's working fine for all type of browsers. In a scenario where the IT team have restrict the user access and allowing the domain URL on which the Application is hosted, the browser giving error : 'Telerik' is undefined".
Telerik controls are then stuck and fails to populate. I am using .net 4.0.

Regards

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 04 Feb 2014, 09:48 AM
Hi Jiten,

Can you check the requests performed in the browser? Are the scripts requested via webresources from your application, or are they requested from the cloud (e.g., something like http://aspnet-scripts.telerikstatic.com/ajaxz/2013.3.1324/Common/Core.js)?

In case they are requested from the cloud and your network administrators have blocked access to them, the requests will not return scripts, but an error, so our controls would not be able to function. You will need to disabled the CDN in this case: http://www.telerik.com/help/aspnet-ajax/scriptmanager-cdn-support.html.

If webresource requests fail, it is possible that the application itself has permissions/user roles implemneted and the user does not have access to the webresource handler. In this case you should add a location element to the web.config to allow access. You can find an example here: http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html, just find the word "location" on the page.

If you are still having issues with webresources examine this article: http://www.telerik.com/help/aspnet-ajax/introduction-web-resources-troubleshooting.html. An alternative would be setting up your custom CDN on your internal servers where access to the files is allowed: http://www.telerik.com/help/aspnet-ajax/cdn-custom-provider.html.

Regards,
Marin Bratanov
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Jiten
Top achievements
Rank 1
answered on 05 Feb 2014, 08:32 AM
Thanks Marin, I found out that the security level for internet zone was restricting the active scripts on the browser. Issue is solved.
Tags
Ajax
Asked by
Jiten
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Jiten
Top achievements
Rank 1
Share this question
or