About adding an button in listview. RRS feed

  • Question

  • Hi,

    Can we add button in tiles????

    Here i m using code for button within tile is as below

        <div id="FoodItemTamplate" data-win-control="WinJS.Binding.Template">
            <div id="FoodNamePriceQuant">
            <h3 id="FoodName" data-win-bind="innerText: Name"></h3><hr />
             <h3 id="FoodPrice" data-win-bind="innerText: Price"></h3><hr />
             <h3 id="FoodQuantity" data-win-bind="innerText: Quantity"></h3><hr />
                <button id="DeleteItemBtn"  class="win-interactive itemCount"></button>

    But here button is appearing but if i click on button then then whole tile is selected instead  of button. How to define button here.

    Shilpa Monocept Windows store apps

    Monday, January 21, 2013 5:53 AM


All replies