locked
WinJS listview invoke not working

    General discussion

  • I have a website that uses a listview, when licking on a listview item the user is directed to a new page this works fine on a desktop browser, but when the website is accessed using a windows phone the invoked event is not fired.

    WinJS.Namespace.define("MyTools", {
        payment: WinJS.UI.eventHandler(function (e) {
            e.detail.itemPromise.done(function (e) {
                document.location.href = "/berry/payment/" + e.data.ProductId
            });
        })
    });
    Since this is just a web site I cant see why there would be any difference.
    Thanks


    Alan Mosley - ThatsIT Solutions

    Monday, May 11, 2015 12:52 PM