locked
Single Page Application possible in XAML ?

    Question

  • Hey,

    http://msdn.microsoft.com/en-in/library/windows/apps/hh452768.aspx

    When im coding a WP8 App i'm Always copy pasting elements from one page to another (a common example would be the title bar [app logo + some common buttons like search]) ... I wanted to know if its possible to build SPA(single page application) in XAML.

    As per the above link its possible in JS.

    i.e. They have shown

    home.html has 1.html

    and on a code behind function execution

    home.html has 2.html

    Is this possible in XAML? If not can you recommend an alternative to avoid copying elements (even UserControls etc.) like having a common title bar box/component and the content below changes?

    Thanks in advance!

    Thursday, August 21, 2014 11:04 AM

Answers

  • Found a Solution : Seems easy to implement :

    http://wflww.reectionit.nl/Blog/2013/windows-8-xaml-tips-master-pages

    Thursday, August 21, 2014 11:45 AM

All replies

  • Found a Solution : Seems easy to implement :

    http://wflww.reectionit.nl/Blog/2013/windows-8-xaml-tips-master-pages

    Thursday, August 21, 2014 11:45 AM
  • Hi Vasu,

    Nice to see the solution.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, August 25, 2014 8:01 AM
    Moderator