i am using following code to get ListView, Suppose i wanted to click on any particular item need to go in detail page how can i ?
<div id="basicListView" data-win-control="WinJS.UI.ListView"
data-win-options="{itemDataSource : RenttheRooRental.itemList.dataSource,
itemTemplate: mediumListIconTextTemplate, layout: {type: WinJS.UI.GridLayout}, oniteminvoked : handler}">
</div>
<div id="mediumListIconTextTemplate" data-win-control="WinJS.Binding.Template" class="">
<div id="menu" style="width: 150px; height: 100px;">
<!-- Displays the "picture" field. -->
<a href="URL:url">
<img src="#"
data-win-bind="alt: title; src: picture" />
</a>
<div>
<!-- Displays the "title" field. -->
<h2 data-win-bind="innerText: title"></h2>
</div>
</div>
</div>
Can any one guide me ? if you dot know the question please comment i will explain again
thanks
Take a look at the HTML ListView essentials sample on MSDN.
Your ListView already defines a handler called
handlerin itsdata-win-optionsattribute.In the code behind, you need to create that event handler: