Questions tagged as 'knockoutjs'

2
answers

Manipulate the grid checkboxes with Knockoutjs and KendoUI

I would like to know how to detect the change in ownership of an observable object in a grid when selecting a checkbox with knockoutjs. The code that I currently have is this way. <div data-bind="kendoGrid:{data: asignados, columns:columns}...
asked by 18.11.2015 / 18:49
1
answer

Perform round-trip binding with 2 objects and knockoutjs

I would like to know if it is possible to make a binding between two objects ( viewmodel ), the first is created as part of the function and the other is created from the Get , and the property that you would like to synchronize betw...
asked by 15.12.2015 / 18:57
1
answer

How to access the read value of pureComputed

I would like to know how I call the read function. When I write in value: valueView it calls the write function but I want the call to read at the end of the function. Is there a method to warn read? <input type="text" data-bind="val...
asked by 16.06.2016 / 09:24
1
answer

Create DropdownList MVC double

I'm working on an MVC ASP.Net project and I need to know how I can perform a view with 2 dropdownlist, in which one depends on another, for example. State and Peoples. Depending on the state you choose then the villages vary, in real time wit...
asked by 10.07.2017 / 14:46
0
answers

select is not showing Options

I do not know much about this, they hired me for a big and advanced project, and I do not even know what's happening. I have a <select> that I create via a template on asp.net mvc: <div class="col-lg-12"> <select multi...
asked by 07.09.2018 / 01:19
0
answers

knockout edit item with property in select

I have a list of Person-type objects, which have a property called Type. This property must be selected from a drop-down. When I click edit, a form with the information of that person selected to edit is displayed. A text box for the name and...
asked by 04.06.2018 / 00:34
0
answers

optionCaption disable in ko.js?

How can I make my optionsCaption from a drop-down list disabled? my html is this: <div class=" col-sm-3 col-md-3 col-lg-3 col-xs-3"> <label for="comment">Tipo de analisis:</label> <div class="in...
asked by 21.05.2018 / 15:36
0
answers

Add Writable computed observable to an object with Knockout JS

I'm trying to add a variable Writable computed observables to an object, I use it to add radio buttons to each row of a table with Knockout, I have this: JS var PageBackControls = { ApplyRecommended: ko.observable(true)...
asked by 09.05.2018 / 16:37
1
answer

Error: popap html with Jquery

I have an error calling a popap using Jquery: 1. HTML Code Button <button type="button" class="btn btn-primary" id="btnAddCentrocosto" value="AddCentrocosto" onclick="$parent.openAddCentrocosto">Agregar Centro Costos</button>...
asked by 17.09.2017 / 08:29
1
answer

C # Error Edit detail

Currently I have an error to edit the detail of an order, I want to pass the field iCode which is the code of the detail, but with this code I have the error that passes the code of the header of the order. In my view the detail is as follows...
asked by 26.06.2017 / 16:42