none
页面跳转问题 RRS feed

  • 问题

  • 我放了个按钮,点击按钮即可打开一个新页面。当我点击这个按钮的时候,问题就来了:原来的页面竟然还在,现在两个页面的内容重叠了。点击按钮是跳转到第二个页面了但第一个页面的内容还在。请问这个问题该怎么解决?Hyperlink也不管用,第一个页面依旧在。

    问题已解决。

    2017年9月10日 16:40

答案

  • 您好,

    根据您的描述,我无法定位你的问题出在哪里,需要您提供一个代码示例,您可以直接把代码贴上来,或者把项目上传到OneDrive网盘上,把网盘的共享链接贴在这里。

    谢谢


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年9月11日 2:51

全部回复

  • 您好,

    根据您的描述,我无法定位你的问题出在哪里,需要您提供一个代码示例,您可以直接把代码贴上来,或者把项目上传到OneDrive网盘上,把网盘的共享链接贴在这里。

    谢谢


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年9月11日 2:51
  • 你好,

    我看了你提供的代码,我建议你禁用一下页面缓存试试:

    public BlankPage1()
            {
                this.InitializeComponent();
                this.NavigationCacheMode = NavigationCacheMode.Disabled; 
            }


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年9月11日 5:51