Hello,
We were using Telerik Controls for our Asp.net 3.4 project
till this and now when we decided to upgrade to Asp.net 4.5 we had to upgrade
to Telerik latest controls and so I did.
I downloaded Telerik v 2014.2.724.45,I also using
AjaxcontrolToolkit v4.0.30319 and now If I Start running project for Asp.net
4.5 I see the below error on each page.
0x800a138f - JavaScript runtime error: Unable to get property
'UI' of undefined or null reference
I read few things related to this which mentions not to use TelerikRadscriptManager
Is that the case causing this error ? Any more details would be appreciated.
Thanks & Regards,
Kavita Tengse.
Developer (Pgi.com)
9 Answers, 1 is accepted
Please refer to the following support resources here and here for troubleshooting steps. In case the provided solutions does not give results, please open a support ticker.
Regards,
Dimitar Terziev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
previously my application had Version=2012.3.1308 for asp.net framework 3.5 , Now I have upgraded telerik Version=2012.3.1308 to 2013.3.1324 for asp.net framework 4.5
but I am getting the error "asp.net ajax client-side framework failed to load." and all controls are not working , I am able to see all combo box are not showing data and date controls are not working after clicking on it.
Is 2013.3.1324 is suitable for asp.net 4.5 if not which version will be compatible please update soon. I am waiting for your quick reply.
Thanks,
Mohd Moiz A.
Since you are using Ajax Toolkit controls, you should make sure that you are using a ToolkitScriptManager instead of RadScriptManager as suggested in the first thread, provided by my colleague. The ToolkitScriptManager should have its CombineScripts property set to false:
<
asp:ToolkitScriptManager
runat
=
"server"
ID
=
"ScriptManager1"
CombineScripts
=
"false"
/>
If this configuration does not help you solve the issue faced, you may refer to the ASP.NET Ajax client-side framework failed to load forum thread or this stackover thread, which deal with the error in question. As the error could have numerous causes, I urge you to pay attention to all steps suggested. One of these tips could solve your case, but I cannot pinpoint which one exactly.
Regards,
Dimitar
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
1 - <telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="3600"/>
2 - <telerik:RadAjaxPanel ID="ajxPanel" LoadingPanelID="ajxLoadingPanel" runat="server"
EnableOutsideScripts="true" EnableAJAX="true">
We are using the RadAjaxPanel panel which is the part of the telerik but we not using the ajax separately, could you please provide a solutions for the same.
Thanks,
Mohd Moiz A.
It seems that you do not need to use the ToolkitScriptManager, since you are not using AjaxControlsToolkit.
However, did you go through the other resources provided by me and my colleague above? Since the error can be caused by various problems in configuring the app, thus there are many possible changes needed to fix it. So I would recommend you to go through some of the suggestions in these threads. Since several users said that setting the RadScriptManager property EnableScriptCombine="false" solved their error, you may start with testing if this property would help you out.
Let us know, if any of the suggested solutions works for you.
Regards,
Dimitar
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Unhandled exception at line 3808, column 23 in http://localhost:xyz/ScriptResource.axd?d=ApcPwYWd7NfgiZWoZyPZlKjOhi1ZHJDRd-q__lAPCHNsWWBV1EmQqnbBh04_S4XD9uvvQlVKORxL2odexSOdVb9D_2A_tRwiXQvZeHszBWPv9ntKDw9bYseCjNKKFh0yZ6WLsb4e0q6yrwP3oBthycl2hvgMno-1OLn-h-YoqU9Ie-5c49W_muQX4eVsd9HD0&t=ca758f3
0x800a139e - JavaScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.
kindly let me know if any solution for the above issue, I have gone through the other blogs but haven't found a proper reason for the above issue. Thanks again for your support.
Thanks,
Mohd Moiz A.
I am glad to know that you have managed to fix the previous issue.
In order to assist you in the most efficient way and to keep threads consistent, I would suggest that you open a separate Support Ticket for the RadGrid error. It would be helpful if you include an isolated sample project that can be used for replicating the issue.
Regards,
Dimitar
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thanks for your suggestions, I am about open a separate ticket but its got solved by setting below two properties in web.config.
1. Set appSetting “vs:EnableBrowserLink” to “false ““. This will disable Browser Link.
2. Set debug= false in web.config file.
<appSettings>
<add key="vs:EnableBrowserLink" value="false"/>
</appSettings>
In the Web.config file, set debug to false.<system.web>
<compilation debug="false" targetFramework="4.5" />
</system.web>
Thank you for your support.
Best regards,
Mohd Moiz A.
I am glad to hear that you have managed to solve the errors with these settings.
Regards,
Dimitar
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.