Share HTML code between pages. RRS feed

  • Question

  • I wish to share some HTML code between pages (eg. Error Bar at top of the Page, like this one http://prntscr.com/157lvy). How can I achieve this?

    In XAML/C# I would create a UserControl. Is it the same in WinJS? I see there are UserControls, but they are created by JS only (what is a little disgusting). What is the proper way to do it?

    Thanks for your help.

    Thursday, May 16, 2013 8:04 PM