.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 - Reset the Admin Password via SQL Server

Umbraco 9 - Strip HTML and Truncate text output

Umbraco Macro for IFrame when Embedding Video, Vimeo Universal Player, or other types of IFrame on to a Page XSLT version and Razor Version