.net User Control - Exporting to Umbraco

1) In Visual Studio Build the Application
2) Copy The .User Cotrol .ascx and .dll from your Application to the dll folder of your Umbraco install
3) In Umbraco in your Master Template, surroind your Content Placeholder a Form declaration:
<form runat="server" id="frmMain">                <asp:ContentPlaceHolder Id="masterContent" runat="server">
                <!-- Insert default "masterContent" markup here -->
                </asp:ContentPlaceHolder>
</form>4) In Umbraco Developer Section Create a new Macro
5) Inset the Macro in to your Template Code and/or as a Macro for the User

Comments

Popular posts from this blog

Umbraco Razor Sort Nodes Ascending or Descending

Umbraco Razor get Querystring

Create a .NET Contact Form that Gets the Last Url Visited in C# Can also be Used in Umbraco