I'll write more later, now just code:
<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="PrintReport.aspx.cs"
Inherits="ApplicationPages.PrintReport" DynamicMasterPageFile="~masterurl/default.master" %>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<%-- MY STUFF HERE--%>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
.s4-notdlg
{
display: none !important;
visibility: hidden !important;
}
#s4-ribboncont
{
display: none !important;
visibility: hidden !important;
}
#s4-ribbonrow
{
display: none !important;
visibility: hidden !important;
}
#s4-statusbarcontainer
{
display: none !important;
visibility: hidden !important;
}
#s4-titlerow
{
display: none !important;
visibility: hidden !important;
}
/*--Hide Quick Launch --*/
#s4-leftpanel
{
display: none;
}
.s4-ca
{
margin-left: 0px;
}
</style>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
runat="server">
</asp:Content>
<asp:Content ID="PlaceHolderPageImage" ContentPlaceHolderID="PlaceHolderPageImage"
runat="server">
</asp:Content>
<asp:Content ID="PlaceHolderLeftNavBar" ContentPlaceHolderID="PlaceHolderLeftNavBar"
runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="PlaceHolderTitleLeftBorder" runat="server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="PlaceHolderTitleAreaClass" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="PlaceHolderBodyAreaClass" runat="server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="PlaceHolderBodyLeftBorder" runat="server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="PlaceHolderTitleRightMargin" runat="server">
</asp:Content>
<asp:Content ID="Content12" ContentPlaceHolderID="PlaceHolderBodyRightMargin" runat="server">
</asp:Content>
<asp:Content ID="Content13" ContentPlaceHolderID="PlaceHolderTitleAreaSeparator"
runat="server">
</asp:Content>
Hiding quicklaunch method is taken from here http://chrisstahl.wordpress.com/2010/03/15/hide-the-quick-launch-in-sharepoint-2010/
No comments:
Post a Comment