c# - How to cache web to read offline in webcontrol window phone -
i'm using load website follow code
webcontent.navigate(new uri(linkurl));
i want cache content , html tag, style, js in web read offline.
i tried download html source, file css , js using webclient , replace these file html resource save file "index.htm" not good.
can find way resolve issue? thank you.
the way download relevant files (including referenced inside html. eg. images, css, js, etc.) , save them isolated storage appropriate similar file , folder structures.
the important point need update paths within content point relative paths match files have been saved.
you can load html isolatedstorage.
this potentially lot of work. i'd recommend exploring other options if possible first. remember manage files stored in isolatedstorage appropriately don't keep adding files there indefinitely.
Comments
Post a Comment