Note that there are some explanatory texts on larger screens.

plurals
  1. POReplacing SharePoint menu with custom asp.net menu
    primarykey
    data
    text
    <p>I have a custom menu I built that I would like to deploy to my SharePoint Site's Master Page.</p> <p>I have the asp.net menu build as a c# project is VS2010, but have no idea how to deploy it to SharePoint. Once compiled, the project of course creates a dll file and has a few .config files.</p> <p>Where can I place these files? I heard in the GAC but I am not sure where that specifically is (folder) on the server. Also, will I be required to Reference that dll in my project (point it to the GAC on the Sp2010 server)? </p> <p>What is the standard, most accepted way of deploying a custom asp.net menu to a SharePoint Master Page?</p> <p>Thanks</p> <p>In Addition: After playing with this, I create a VERY simple asp.net menu in Visual Studio 2010. The following is the entirety of my default.aspx file:</p> <pre><code>&lt;%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&gt; &lt;html4f&gt;&lt;body&gt;&lt;head runat="server"&gt;&lt;/head&gt; &lt;form id="Form1" runat="server"&gt; &lt;asp:Menu ID="Menu1" runat="server"&gt; &lt;Items&gt; &lt;asp:MenuItem Text="Menu1" Value="Menu1"&gt; &lt;asp:MenuItem Text="SubMenu1" Value="SubMenu1"&gt;&lt;/asp:MenuItem&gt; &lt;asp:MenuItem Text="SubMenu2" Value="SubMenu2"&gt;&lt;/asp:MenuItem&gt; &lt;/asp:MenuItem&gt; &lt;asp:MenuItem Text="Menu2" Value="Menu2"&gt;&lt;/asp:MenuItem&gt; &lt;/Items&gt; &lt;/asp:Menu&gt; &lt;/form&gt; </code></pre> <p> </p> <p>Root web folder after publish:</p> <p><img src="https://i.stack.imgur.com/gFBcL.png" alt="Root"></p> <p>Bin folder:</p> <p><img src="https://i.stack.imgur.com/anhF7.png" alt="Bin"></p> <p>How do I add this to my SharePoint master page file? I now realize I need to add the dll's (all of them?) to the Sharepoint BIN folder for that particular site collection, as well as modify the web.config file, but I am unsure how to find out the information I need to do so. The .config files require some "keys" and I am unsure how to find out the GUID for the dll's I am using? This should be a simple thing - add a menu to sharepoint, but finding I don't know what to search for in order to proceed. Thanks for any help you can offer.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload