Advertisement
yaramohamed78

Untitled

Jun 8th, 2017
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.16 KB | None | 0 0
  1. <%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%>
  2.  
  3. <%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
  4.  
  5. <%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  6. <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  7. <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  8.  
  9. <%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
  10. <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
  11.     <script type="text/javascript" src="../Scripts/jquery-1.9.1.min.js"></script>
  12.     <SharePoint:ScriptLink name="sp.js" runat="server" OnDemand="true" LoadAfterUI="true" Localizable="false" />
  13.     <meta name="WebPartPageExpansion" content="full" />
  14.  
  15.     <!-- Add your CSS styles to the following file -->
  16.     <link rel="Stylesheet" type="text/css" href="../Content/App.css" />
  17.  
  18.     <!-- Add your JavaScript to the following file -->
  19.     <script type="text/javascript" src="../Scripts/App.js"></script>
  20. </asp:Content>
  21.  
  22. <%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
  23. <asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
  24.     Page Title
  25. </asp:Content>
  26.  
  27. <%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
  28. <asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
  29.  
  30.     <div>
  31.         <p id="message">
  32.             <!-- The following content will be replaced with the user name when you run the app - see App.js -->
  33.             initializing...
  34.         </p>
  35.     </div>
  36.  
  37. </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement