Dynamic UI
172 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Al Borns from JavaScript for Line of Business Applications
Scoop.it!

Using KnockoutJS with SignalR in ASP.NET MVC

Using KnockoutJS with SignalR in ASP.NET MVC | Dynamic UI | Scoop.it

To me these two libraries seem like a match made in heaven. SignalR calling a JavaScript function to alter data, and Knockout automatically updating the UI, awesome!

In this post I’ll show how you can use KnockoutJS and SignalR together to create real-time web application with little effort. I’m going to create a very basic example of a web page showing a list of exchange rates hooked up using KnockoutJS. I’ll then create a server side page to update the data and use SignalR to call a JavaScript function to update the JavaScript model.


Via Jan Hesse
more...
No comment yet.
Rescooped by Al Borns from JavaScript for Line of Business Applications
Scoop.it!

Using ASP.NET MVC with KnockoutJS to Create a Snappy Shopping Cart UI

Using ASP.NET MVC with KnockoutJS to Create a Snappy Shopping Cart UI | Dynamic UI | Scoop.it
Gregor Suttie introduces KnockoutJS, a JavaScript library that bring tons of richness to your ASP.NET MVC web application with features like ‘Declarative Bindings’, ‘Dependency Tracking’, ‘Templating’
and ‘Observables’.

Via Jan Hesse
more...
No comment yet.
Rescooped by Al Borns from JavaScript for Line of Business Applications
Scoop.it!

Infinite Scrolling Using ASP.NET Web API Data Service and KnockoutJS

Infinite Scrolling Using ASP.NET Web API Data Service and KnockoutJS | Dynamic UI | Scoop.it
The infinite scroll pattern is simply a different kind of pagination. In this article, we will see how to implement an infinite scroll using ASP.NET WebAPI, KnockoutJS and jQuery

he most common requirement for a line of business application is to represent data in pages. Usually this involves showing data in a grid and showing a navigate pane with either page numbers or Next/Previous button (or both) to navigate to multiple pages. This works fine in most cases.


Via Jan Hesse
more...
No comment yet.
Rescooped by Al Borns from JavaScript for Line of Business Applications
Scoop.it!

Binding Checkboxes with KnockoutJS

Binding Checkboxes with KnockoutJS | Dynamic UI | Scoop.it

Recently I had occasion to bind a list of checkbox input elements to a KnockoutJS observableArray.  It actually took me a great deal of time to get the implementation working.  In this post I am going to cover the issues I experienced.  Then I will explain how implement a surefire checkbox-KnockoutJS binding solution.  This post assumes you have a working knowledge of KnockoutJS.


Via Jan Hesse
more...
No comment yet.