Thursday 3 November 2011

How to hide the left navigation bar in the SharePoint ?


Solution
There are many ways for hiding the left navigation in the SharePoint. Here are the few ways.
1. Master.FindControl("PlaceHolderLeftNavBar").Visible = false;
2. Place a content editor in the page you want to hide the left navigation pane in the site and add the following code in the source editor which will hide the left navigation bar.
1
2
3
4
5
6
<style>
.ms-navframe
{
display:none;
}
</style>

No comments:

Post a Comment