List View Data Binding in Windows 8 JavaScript Metro Application

In this post we will see, Working with ListView control in WinJS ItemTemplte in WinJS Data Binding to ListView Creating Data Source in WinJS For purpose of this post I am going to bind name and images of Indian cricket player in ListView. After data binding ListView should look like below, To bind data with … Continue reading List View Data Binding in Windows 8 JavaScript Metro Application

Message Dialog Control in Windows 8 HTML JavaScript Metro Application

In this post, I will discuss how to work with Message Dialog in Windows 8 Metro application. I will use WinJS to create message dialog. Message dialog look like below, Message Dialog is part of UI surfaces in Windows 8. There are four types of UI surfaces in Windows 8. App Bar Context Menu Message … Continue reading Message Dialog Control in Windows 8 HTML JavaScript Metro Application

DatePicker control in Windows 8 HTML5 Metro JavaScript Application

In this post I will show you, how to work with DatePicker control in HTML Metro App. DatePicker controls comes as part of WinJS. To use DatePicker control very first let us create a blank application Right click and open project in Expression Blend. Choose Date Picker from Assets and put it below Body tag. … Continue reading DatePicker control in Windows 8 HTML5 Metro JavaScript Application

Consuming JSON in Windows 8 Metro style Application using WinJS

In this post I will discuss way of consuming JSON service in Windows 8 metro style application. In this post, Metro app is created using HTML 5 and Service is being consumed using WinJS Service is created service using WCF and REST is on service using webHttpBinding. Since creating simple REST Service returning JSON is … Continue reading Consuming JSON in Windows 8 Metro style Application using WinJS