Replacing SharePoint 2010 Menu Control


Do you want to change the SharePoint 2010 Menu Control to this?

SharePoint 2010 Menu Control


Try the following steps to change SharePoint 2010 Menu Control

To replace the Menu control with a TreeView control
  1. In SharePoint Designer 2010, open the website that you want to customize.

  2. In the Navigation pane, select Master Pages.

  3. Right-click v4.master, and then click Copy.

  4. Right-click an empty area of the Master Pages pane, and then click Paste.

    The file v4_copy(1).master is created.

  5. Right-click v4_copy(1).master, click Rename, and type a new name, such as v4_sample.master.

  6. Edit the master page and go to code view

    Replacing the menu control in sharepoint 2010

    7. CTRL + F and find the code
        <SharePoint:AspMenu id="V4QuickLaunchMenu"

    V4QuickLaunchMenu, SharePoint 2010

    8. Right click V4QuickLaunchMenu, select Select Tag, and then press the Delete key.

    Replacing SharePoint 2010 Menu Control

    9. Replace the deleted markup with markup for three new controls, an SPHierarchyDataSourceControl and an SPRememberScroll control that contains an SPTreeView control.

          runat="server" RootContextObject="Web"
          IncludeDiscussionFolders="true" />
          runat="server" onscroll="javascript:_spRecordScrollPositions(this);"
          Style="overflow: auto;height: 400px;width: 150px; ">
            NoExpandImageUrl="/_layouts/images/tvblank.gif" />
  7. 10. On the File menu, click Save.

    11. In the Navigation pane, select Master Pages. Right-click the name of your master page, and then click Set as Default Master Page.

     Setting up Custom Master Page in SharePoint 2010















  • Open a page in the website to see the result of your changes. You will see your menu is changed to this.


    SharePoint 2010 Quick Launch Menu

    Published by Aryan Nava

    Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

    Leave a Reply

    Please log in using one of these methods to post your comment: Logo

    You are commenting using your account. Log Out /  Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out /  Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out /  Change )

    Connecting to %s

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    %d bloggers like this: