我在布局中的MVC3应用程序中获得了Getaway:
@if ((Request.Browser.Browser == "IE") && ((Request.Browser.MajorVersion == 7)))
{
//show some content
}
else
{
//show another content
}
Run Code Online (Sandbox Code Playgroud)
我有很多用户抱怨(用户使用Internet Explorer 8).他们从我的应用程序中看到Internet Explorer 7内容.我检测Internet Explorer 7版本的方式有什么问题?如何在我的应用程序中确保100%用户拥有Internet Explorer 7版本?可能这是特定的操作系统问题?