locked
Clear Navigation HIstory RRS feed

  • Question

  • Hi I want create navigation like Windows phone that

    * when  I am navigating forward then that Page Navigation history should save and when  am going back then previous page history should clear

    I tried this line of code by its giving run time Null Reference exception  

    private void ResetPageCache()
    11 {
    12     var cacheSize = ((Frame) Parent).CacheSize;
    13     ((Frame) Parent).CacheSize = 0;
    14     ((Frame) Parent).CacheSize = cacheSize;
    15

    }

    Please help me

     

    12     

    Ravindra

    Wednesday, December 26, 2012 9:14 AM

Answers