Tag: Binding
-
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…
-
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…