Skip to main content

All Questions

0 votes
1 answer
193 views

How to get all css classes from html, through knockoutjs

Im having a problem with selecting all classes with accordion and bringing them into knckoutjs to operate with them. Following this link: https://wpbeaches.com/create-expandcollapse-faq-accordion-...
lonelydev101's user avatar
  • 1,731
0 votes
0 answers
557 views

Bootstrap tooltip in the same partial view renders when the partial view is initiated from one page, but fails when initiated from another

I have a common partial view (_New.cshtml) that is rendered from two different pages (Loads-1 and Loads-2) in the application. Within the partial view there is a tooltip (on hover). The tooltip ...
Nayak S's user avatar
  • 438
0 votes
1 answer
1k views

Bootstrap multiselect not working with knockout binding

I am using this plugin for implementing a multi-select dropdown with checkboxes using KnockoutJs in an ASP.NET MVC web application. I have followed the code in this jsfiddle, but the drop-down is not ...
Nimish David Mathew's user avatar
0 votes
1 answer
147 views

passing title from resource file to knockout data-bind attribute

I have following html defined in my cshtml file <span> @Html.Raw(String.Format(Resources.Test, "<a href=\"#\" role=\"button\" style=\"...
James's user avatar
  • 1,907
0 votes
1 answer
245 views

dynamically enable and disable toggle button

Here is html for Toggle button <div class="toggle btn btn-default" data-toggle="toggle" data-bind=" toggle:address(), css:{off:!address()}enable: IsItNeeded()"> <div class="toggle-group"&...
James's user avatar
  • 1,907
1 vote
1 answer
94 views

Bootstrap model do not closed properly when using with knockout js

I am using knockout with bootstrap js. My requirement : I am creating an HTML form and I have done data binding using knockout. After submission of this form, I am showing a message to the user in ...
Priyank Sinha's user avatar
1 vote
1 answer
1k views

Bootstrap accordion aria-expanded doesnt work

i am using bootstrap 4 accordion. i want as initial state to have all the cards collapsed. I set aria-expanded to false but all the cards appeared expanded. <div id="accordion"> <...
Digital_Jo4's user avatar
0 votes
1 answer
67 views

Knockoutjs: how can I make the input value added to a list also observable

Not sure if I am phrasing this correctly. I have an observableArray and I can add to that array from an input and also remove the list item. but if I modify the created item I lose the connection to ...
Zinox's user avatar
  • 519
1 vote
2 answers
166 views

Knockout adding rows into a foreach loop that creates columns

I used to have a View that looked something like this: <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3"> <h4 class="text-center">Row 1, Col 1</h4> </div> <div class="...
Majs's user avatar
  • 627
0 votes
1 answer
310 views

Binding an entity to a modal

I'm attempting to bind a KO viewmodel to a bootstrap modal and I seem to be missing something to instruct KO to populate the input fields. Here's what I have so far. The modal template: <script ...
Francis Ducharme's user avatar
0 votes
1 answer
516 views

Knockout popover template

How can I get the user name inside my popover template? <script type="html/text" id="editTemplate"> user: Fiddle here: http://jsfiddle.net/gm79cr22/64/ Thanks
Red Devil's user avatar
  • 176
0 votes
0 answers
527 views

Knockout Js to Dynamic(Based on user Selection) disable past date in bootstrap datepicker

I, have use the Bootstrap DatePicker to use the calender. I, have two input box in table with multiple rows. In, each row the user can select start date and end date. Default value of start Date is ...
San Jaisy's user avatar
  • 16.4k
0 votes
2 answers
202 views

Popping up a bootstrap model in a Knockout Foreach

I'm attempting to show the user a modal while using Knockout, it seems like whenever it is called from within the foreach, the modal does not work or in the case of a hardcoded link, the contents open ...
Imtiaz Buckas's user avatar
0 votes
1 answer
823 views

iCheck not working with knockout

I am using a pure css plugin of iCheck-bootstrap v1.07 along it with knockout v3.4.2. When using iCheck without knockout, the checkboxes render perfectly. However, when I add knockout and bootstrap, ...
usr4896260's user avatar
  • 1,497
0 votes
0 answers
49 views

Partial Styles coming for bootstrap tooltip

I am getting partial styles when I am trying to use bootstrap tooltip in the code. The following tool tip is coming while hovering over the standard residential info icon. The code is right and the I ...
Shubham Goyal's user avatar

15 30 50 per page
1
2 3 4 5
25