JavaScript 仅在本地计算机上出现运行时错误

JavaScript runtime error only on local machine

我收到以下 javascript 错误,但奇怪的是只有当我通过本地计算机上的代码 运行 应用程序时才会发生这种情况。代码在服务器上 运行ning 正常。任何建议或帮助将不胜感激。

http://localhost/CCSS/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:fa6755fd-da1a-49d3-9eb4-1e473e780ecd:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2012.1.215.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:b29b07e8-2c1e-44e5-9e1b-59bb6459fb01:16e4e7cd:ed16cbdc:f7645509:24ee1bba:f46195d3:2003d0b8:1e771326:aa288e2d:b7778d6c:e085fe68:7165f74:e330518b:c8618e41:8e6f0d33:6a6d718d:7c926187:8674cba1:c08e9f8a:59462f1:a51ee93e:82923ac3:2e42e72a:ef347303:cb4a7569:30f1f089:874f8ea2:19620875:490a9d4e:58366029:bd8f85e4

中第 6 行第 74203 列的未处理异常

0x800a138f - JavaScript 运行时间错误:无法设置 属性 'control' 未定义或空引用

更新:这是抛出错误的行 Sys.Application.add_init(函数() { $create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_height":0,"_skin":"Default","_text":"5","_uniqueId":"ctl00$MainContent$AddressUpdate$grdAddresses$ctl00$ctl03$ctl01$PageSizeComboBox", "_value":"5","clientStateFieldID":"ctl00_MainContent_AddressUpdate_grdAddresses_ctl00_ctl03_ctl01_PageSizeComboBox_ClientState","collapseAnimation":"{\"duration\":450}","expandAnimation":"{\"duration\":450}","itemData":[{"value":"5","selected":true,"attributes":{"ownerTableViewId":"ctl00_MainContent_AddressUpdate_grdAddresses_ctl00"}},{"value":"10","attributes":{"ownerTableViewId":"ctl00_MainContent_AddressUpdate_grdAddresses_ctl00"}},{"value":"20","attributes":{"ownerTableViewId":"ctl00_MainContent_AddressUpdate_grdAddresses_ctl00"}},{"value":"50","attributes":{"ownerTableViewId":"ctl00_MainContent_AddressUpdate_grdAddresses_ctl00"}} ],"localization":"{\"AllItemsCheckedString\":\"All items checked\",\"ItemsCheckedString\":\"items checked\",\"CheckAllString\":\"Check All\"}","selectedIndex":0}, {"selectedIndexChanged":Telerik.Web.UI.Grid.ChangePageSizeComboHandler}, 空, $get("ctl00_MainContent_AddressUpdate_grdAddresses_ctl00_ctl03_ctl01_PageSizeComboBox")); });

通常禁用 Visual Studio 浏览器link 可以解决该问题 - 这里 link 展示了如何禁用它 http://www.poconosystems.com/software-development/how-to-disable-browser-link-in-visual-studio-2013/