I have an ItemTemplate that is installed in a ListView:
<div class="commentTileTemplate" data-win-control="WinJS.Binding.Template">
<div class="commentTileControl" data-win-control="WinJS.UI.HtmlControl" data-win-options="{uri: '/htmlControls/commentTile/commentTile.html'}"></div>
</div>
Binding data that is inside the HtmlControl fails to bind when the ListView is displayed for the first time, it works great with subsequent launches.
If I remove the template from the ListView, then the source data will appear as expected, only after adding the HtmlControl it will not be the first.
Any idea what could be wrong?
source
share