Understanding click binding in Knockout.js

Click Binding adds click event to element on View. You can do click binding with any function in ViewModel or you can bind to any normal function. Let us try to understand it with a very simple ViewModel. We have a ViewModel as below As you see there is one function as property of ViewModel … Continue reading Understanding click binding in Knockout.js

Working with OData and WinJS ListView in Metro Application

In this post we will see how to consume Netflix OData feed in HTML based Metro Application. Movies information will be displayed as following. At the end of this post, we should have output as below, Netflix exposed all movies information as OData and that is publicly available to use. Netflix OData feed of movies … Continue reading Working with OData and WinJS ListView in Metro Application

Nested ListBox binding in Silverlight and Windows Phone 7

While creating an application I came across a requirement when I had to put a listbox inside a list box and then I had bind that nested listbox dynamically. For example say, entity class called Roles as below, And you are using Role class in another entity class called Subscription as property We need to … Continue reading Nested ListBox binding in Silverlight and Windows Phone 7