毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> 企业开发 >> 正文

SharePoint流行型视图如何切换为经典视图

更新时间:2016-4-13:  来源:毕业论文

网站已开启移动视图。
其中一个示例的代码如下:
自定义移动列表视图页

<%@ Register TagPrefix="GroupBoardMobile"   Namespace="Microsoft.SharePoint.Applications.GroupBoard.MobileControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#"   %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SPMobile" Namespace="Microsoft.SharePoint.MobileControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WPMobile" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<SharePoint:RenderingTemplate RunAt="Server"
   ID="Mobile_STS_HomePage_Redirect">
  <Template>
    <SPMobile:SPMobileHomePageRedirection RunAt="Server"
      PageFileName="ContosoHomePage.aspx" />
  </Template>
</SharePoint:RenderingTemplate>
SharePoint开启移动视图后,手机上显示的是“流行型视图”,怎么切换为”经典视图“?
比如 mbllistsa.aspx和mbllists.aspx两个不同的呈现效果页面。
基于IHttpModule自己实现一个httpmodule,然后截获请求,发现是自 mbllistsa.aspx页面然后把请求跳转到mbllists.aspx页面,可以使用Request.Browser.IsMobileDevice 判断是不是移动设备
I have a SharePoint 2013 site, I want to display it in the mobile, when I open the site in the mobile, it's opening same as in the browser is there any way to display like mobile application, with my custom menu? 银行金库远程监控报警管理系统解决方案

If I want to develop an application with my custom menu's for mobile for all mobiles is there any guidelines how to achieve this?

You have many options for developing Mobile Site for SharePoint 2013:

  1. Create a separate site and redirect to it if you access Site with mobile. You can configure mobile redirection in app_browsers check file compat.browser:

        <gateway id="HTCIE" parentID="ie">
<identification>
<userAgent match="HTC" />
</identification>
<capabilities>
<capability name="isMobileDevice" value="true" />
</capabilities>
</gateway>

Update your user agent for supported Mobile like above

  2. You can use same page and customize it with different view of Mobile:

    You can create many channels depend on your supported Mobiles UserAgents.
    You can associate different masterpage for different channel
    You can Hide/Show Controls in Layouts depend on UserAgents

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。