Error saying "object doesn't support method or property createListBinding" when using ListView RRS feed

  • Question

  • I'm using two ListViews in my app to display content, one works perfectly fine but the other throws an exception on launch. My html code of the ListView failing:

    <div id="menuTemplate" data-win-control="WinJS.Binding.Template">
        <div style="width:280px; height:80px;">
            <h2 data-win-bind="innerHTML:displayText"></h2>
    <div id="lectorganizeMenu" data-win-control="WinJS.UI.ListView"

    In my javascript file connected with the html file I have the following lines at the beginning:

    var menuList = new WinJS.Binding.List([{ displayText: 'Add Course'}]);
    WinJS.Namespace.define('menuSource', { data: menuList });
    When i comment out the lecorganizeMenu div the exception is not thrown so i know that it is the part failing.

    • Edited by SiXoS Thursday, November 28, 2013 1:12 PM misspell
    Thursday, November 28, 2013 1:11 PM


All replies