Modified Navigation Grid App - any way to do dynamic tile images? RRS feed

  • Question

  • Greetings.

    I am currently having issues with wrapping my head around my situation, and would like some suggestions or guidance. I am currently developing an app with a modified version of the "Grid" template project. I'm having trouble setting any of the templated images' backgroundImage dynamically after the image loads and data-win-bind sets it via the item template settings. I cannot search for it by ID as I would like all of the tiles to be able to have a dynamic image (for example, one image if the resultant puzzle has not been finished, and another if it has).

    The backgroundImage is being set just fine via the data-win-bind setting, however, and I can change this if I want to another static image, but once the page is loaded, there is seemingly no way to set the src again and refresh the templated item.

    I hope I did not ramble on too much about this. Please let me know if you have any suggestions!


    Monday, October 8, 2012 10:11 PM