Skip to content

Commit e156add

Browse files
docs: added troubleshooting section about jquery building errors
1 parent fd0c5be commit e156add

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

general-information/troubleshooting/jquery-troubleshooting.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ The article contains the following sections:
2424

2525
* [How To Use Unobtrusive Validation In .NET 4.5 Telerik Web Site / Telerik Web Application That Has jQuery Registered In RadScriptManager](#how-to-use-unobtrusive-validation-in-net-45-telerik-web-site--telerik-web-application-that-has-jquery-registered-in-radscriptmanager) — this section explains how touse unobtrusive validation in a web site that is created with the .NET 4.5 **Telerik Web Site** or **Telerik Web Application** template of Visual Studio and has jQuery registered with the RadScriptManager via a **ScriptReference** with **Name** property set to **jquery**.
2626

27+
* [0x800a139e - JavaScript runtime error: SyntaxError](#0x800a139e---javascript-runtime-error-syntaxerror)—this section treats a jQuery runtime error in Visual Stutio output window when the project is started in debug mode in Internet Explorer.
28+
2729
## Unobtrusive Validation Basics
2830

2931
**Unobtrusive validation** is a type of validation that makes use of the data - HTML5 attributes and jQuery for validation purposes. It is enabled by default for all .NET 4.5 projects and it requires a jQuery library that is registered with the ScriptManager as **jquery**. You can easily add this registration by installing the [AspNet.ScriptManager.jQuery NuGet package](https://www.nuget.org/packages/AspNet.ScriptManager.jQuery/).
@@ -115,4 +117,26 @@ You now have only one version of jQuery that is used throughout your web site an
115117
</telerik:RadScriptManager>
116118
````
117119

120+
## 0x800a139e - JavaScript runtime error: SyntaxError
121+
122+
When a Telerik UI project is run in debug mode under Internet Explorer the Visual Studio output window may throw the following JavaScript errors:
123+
124+
`Exception was thrown at line 1577, column 10673 in http://localhost:55082/TWS/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:0f2ae90c-87fb-4f74-9210-4b167170d85e:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2016.3.1027.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a5034868-8cfd-4375-ba8c-d3e7543c32f7:16e4e7cd:f7645509:24ee1bba:4cd1fec6:77613e24:71188da4:f0c58c30:9b7cc2d2:ec7335e:d944e0f6:c442ac3f:8d1fecce:69667591:6b6b9ee5:595e7652`
125+
`0x800a139e - JavaScript runtime error: SyntaxError`
126+
127+
The issue is not directly related to the UI for ASP.NET AJAX controls and can be reproduced on simple page with no Telerik controls that contains a reference to jQuery. For example:
128+
129+
>caption **Example 3**: Visual Studio output window shows JavaScript errors when a project that references jQuery is run in debug mode under Internet Explorer.
130+
131+
````ASP.NET
132+
<form id="form1" runat="server">
133+
<asp:ScriptManager ID="Scriptmanager1" runat="server">
134+
<Scripts>
135+
<asp:ScriptReference Path="~/Scripts/jquery-1.9.1.js" />
136+
</Scripts>
137+
</asp:ScriptManager>
138+
</form>
139+
````
118140

141+
`Exception was thrown at line 4224, column 4 in http://localhost:60537/WebSite1/Scripts/jquery-1.9.1.js`
142+
`0x800a139e - JavaScript runtime error: SyntaxError`

0 commit comments

Comments
 (0)