knockout.jsView the original page-Collection of common programming errors

UnKnown Error


  • Simone Vitale
    asp.net-mvc knockout.js knockout-2.0 2013-12-4 5:05:20
    I’m going crazy with knockuoutjs and binding:I have defined a CreateEditGroup.js document and I have created methods and Collection to retrieve or update a Group in my application:var url = window.location.pathname; var GroupID = url.substring(url.lastIndexOf(‘/’) + 1);var Group = function (group) {var self = this;self.GroupID = ko.observable(group ? group.GroupID : 0).extend({ required: true });self.Name = ko.observable(group ? group.Name : ”).extend({ required: true }); };var GroupCollection

  • GeorgesC
    json knockout.js asp.net-mvc-4 asp.net-web-api runtime-error 2013-12-2 7:23:14
    Hy, I’m stuck with this error message and I can not find an solution.I get this message error in the Knockout JavaScript library v2.2.0:Unhandled exception at line 1053, column 5 inlocalhost:port/Scripts/knockout-2.2.0.debug.js 0x800a138f -Microsoft JScript runtime error: Invalid operand to ‘in’: Objectexpected If there is a handler for this exception, the program may besafely continued.It stops at this line of code in knockout-2.2.0.debug.jsif ((initialValues !== null) && (initialValues

  • Ray Cheng
    javascript asp.net-mvc asp.net-mvc-4 knockout.js internet-explorer-8 2013-11-28 15:09:30
    This is the error message when IE8 crashes.Unhandled exception at 0x05A99E34 (mshtml.dll) in iexplore.exe: 0xC0000005: Access violation reading location 0x0000003C.the following works.<tbody data-bind=”foreach: searchResults”><tr><td data-bind=”text: orgName”></td></tr> </tbody>but the following crash on IE8 (works on IE10, FF and Chrome).orgName is just a string set in the vm.searchStakeholder.Here’s more about the view model.var Stakeholder = (function () {f

  • dejobo
    asp.net-mvc knockout.js single-page-application durandal hottowel 2013-11-27 21:14:42
    I am using the upgraded version of Hot Towel template which has new versions of Durandal, Knockout, Breeze, etc. for a Single Page Application. This process works fine with the older version but not the newest.This is the error I get:Unhandled exception at line 93, column 13 in [http://servername:50921/Scripts/durandal/viewEngine.js]0x800a138f – Microsoft JScript runtime error: Unable to get value of the property ‘length’: object is null or undefinedI have changed the convention for the viewLoca

  • user1648962
    knockout.js knockout-mapping-plugin appframework 2013-11-16 10:53:39
    I am developing an appframework based mobile application using knockout js for data binding. I keep getting the following error message on my browser console :Uncaught Error: Unable to parse bindings. Message: ReferenceError: technology_name is not defined; Bindings value: text: technology_name, click: $parent.loadSubSection I can verify that the data is loaded but the knockout binding doesn’t seem to work properly. Could anyone please help me out ?. My code is like follows :Index.html<!DOCT

  • jmogera
    jquery asp.net-mvc-3 jquery-ajax knockout.js 2013-11-15 19:38:23
    A public action method ‘AddPromoCode’ was not found on controller’Flazingo.Controllers.PositionController’. atSystem.Web.Mvc.Controller.HandleUnknownAction(String actionName) atSystem.Web.Mvc.Controller.ExecuteCore() atSystem.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)atSystem.Web.Mvc.MvcHandler.<>c_DisplayClass6.<>c_DisplayClassb.b_5()at System.Web.Mvc.Async.AsyncResultWrapper.<>c_DisplayClass1.b_0()at System.Web.Mvc.MvcHandler.<>c_DisplayClasse.b__d() atSystem.Web

  • fatman
    javascript knockout.js requirejs knockout-2.0 2013-11-15 18:43:57
    I’m trying to debug ko (version: 2.2.1) using <pre> tag:<pre data-bind=”text:ko.toJSON($root,null,2)”></pre>but I’m getting this:Uncaught Error: Unable to parse bindings. Message: TypeError: Object object has no method ‘getType’; Bindings value: text:ko.toJSON($root,null,2) UPDATE:It seems like the $root object is actually the windows object, why is it happening, how can i make sure it remains in the scope of my ViewModel?The scenario is like this:I have a view that contains al

  • relatively_slow
    jquery visual-studio knockout.js jqplot 2013-11-15 16:42:40
    I am working on a web app, and I very much like the drag graphs that JQPlot offers. I am referring to this example on their site: http://www.jqplot.com/deploy/dist/examples/customHighlighterCursorTrendline.htmlAs I understand, to get JQPlot working, I need to include Jquery, the jquery jqplot fucntion, and a couple of styling files. The JQPlot download provides its own jquery.js and jquery.jqplot.js. Additionally, I am also using Knockout.js as part of this project, and I am including the stand

  • Ozi
    knockout.js knockout-mapping-plugin 2013-11-15 16:37:49
    I’m relatively new to Knockoutjs and trying implement some advanced filtering. I’m looking to filter my viewmodel data using multiple categories using a series of checkboxes. I’ve followed a number of solutions which allow filtering based on one criteria/category at a time. However, I’ve been unable to get the advanced filtering working. Problem occurs when i’m filtering based on values in the nested array. e.g. education.course. Appears to work fine where the selected course corresponds to an o

  • Kasper Lewau
    javascript jquery mvvm knockout.js knockout-sortable 2013-11-15 16:04:14
    What I’m trying to achieve: A form with one text input field(Name), two select fields with some options(Type & Column) with a submit button that creates a Widget with it’s title set to Name, data-type set to Type and Column – being it’s position in the page. Type in this case has a couple of different options defined in the view, it works just dandy so I won’t go into how I got that working, for now. As of now I have a page with three columns, each as it’s own observableArray – like so: sel