How to load page control inside a DIV from application local state folder in winjs? RRS feed

  • Question

  • I want to keep page controls in a separate location and to download it when needed. I can download a zipped folder containing three file ( html,css,js)  in LocalState application folder and then unzip it. How can I show this page control inside a Div?

    I tried "WinJS.UI.Pages.render" with url as "ms-appdata:///local/pages/page1.html" but it's not working. I am getting error : WinJS.UI.Fragments.InvalidUri: Unsupported uri for fragment loading. Fragments in the local context can only load from package content or local sources. To load fragments from other sources, use a web context.

    Monday, January 6, 2014 9:40 AM


All replies