How to Integrate ASP.NET custom user control with Umbraco CMS

04 / Feb / 2016 by Anshul Verma 0 comments

INTRODUCTION

You can integrate ASP.NET user controls with Umbraco CMS. You can communicate with your control by using Public Properties and macro elements.

The user control created with data entry form in ASP.NET looks like the one below:

1Form

After creating user control in ASP.NET project, copy the custom control bin file into bin folder and.axcs page into User control folder in Umbraco CMS.

After copying the user control .axcs page and bin file in umbraco CMS, open the Umbraco CMS and go to the developer section and  create the macro in macros folder.Firstly, we create the partnership macro as shown below.

2UmForm

After creating the partnership macro, click on the save button as shown below.

3UmForm

After creating the partnership form macro, we used the template and content section as shown in the figure below.

4UmForm

Publish the page.

5UmFrom

FOUND THIS USEFUL? SHARE IT

Leave a comment -