Opera移动后退按钮问题 [英] Opera mobile back button issue

查看:73
本文介绍了Opera移动后退按钮问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题.我需要操作歌剧移动后退按钮.
我无法将Opera mobile的后退按钮映射到c#代码中的事件.
非常紧急,请尽快提供帮助.

I have an issue. I need to handle the opera mobile back button.
I am not able to map the back button of opera mobile to events in c# code.
Its urgent,kindly do the help ASAP.

推荐答案

Response.AppendHeader( "Cache-Control" , "no-cache" );
      Response.AppendHeader( "Cache-Control" , "private" );
     Response.AppendHeader( "Cache-Control" , "no-store" );
     Response.AppendHeader( "Cache-Control" , "must-revalidate"                Response.AppendHeader( "Cache-Control" , "max-stale=0" );
   Response.AppendHeader( "Cache-Control" , "post-check=0" );
            Response.AppendHeader( "Cache-Control" , "pre-check=0" );            Response.AppendHeader( "Pragma" , "no-cache" );


Add the above code in Page_load event of the page and remove <outputcache> tag at page level.the page will be reloaded on click of back button in opera emulator.(as we removed the cache.


这篇关于Opera移动后退按钮问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆