{"id":32234,"date":"2016-02-04T17:10:38","date_gmt":"2016-02-04T11:40:38","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=32234"},"modified":"2016-02-09T13:43:24","modified_gmt":"2016-02-09T08:13:24","slug":"how-to-integrate-asp-net-custom-user-control-with-umbraco-cms","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-asp-net-custom-user-control-with-umbraco-cms\/","title":{"rendered":"How to Integrate  ASP.NET custom user control  with Umbraco CMS"},"content":{"rendered":"<h2>INTRODUCTION<\/h2>\n<p>You can integrate ASP.NET user controls with Umbraco CMS. You can communicate with your control by using Public Properties and macro elements.<\/p>\n<p>The user control created with data entry form in ASP.NET looks like the one below:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-32235\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/1Form.png\" alt=\"1Form\" width=\"1366\" height=\"768\" \/><\/p>\n<p>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.<\/p>\n<p>After copying the user control .axcs page and bin file in umbraco CMS, open the Umbraco CMS and go to the developer section and \u00a0create the macro in macros folder.Firstly, we create the partnership macro as shown below.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-32237\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/2UmForm.png\" alt=\"2UmForm\" width=\"1340\" height=\"563\" \/><\/p>\n<p>After creating the partnership macro, click on the save button as shown below.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-32238\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/3UmForm.png\" alt=\"3UmForm\" width=\"1335\" height=\"627\" \/><\/p>\n<p>After creating the partnership form macro, we used the template and content section as shown in the figure below.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-32239\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/4UmForm.png\" alt=\"4UmForm\" width=\"1339\" height=\"621\" \/><\/p>\n<p>Publish the page.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-32240\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/5UmFrom.png\" alt=\"5UmFrom\" width=\"1350\" height=\"595\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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: After creating user control in ASP.NET project, copy the custom control bin file into bin folder and.axcs [&hellip;]<\/p>\n","protected":false},"author":310,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":12},"categories":[1953,1],"tags":[1440,2222],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/32234"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=32234"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/32234\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=32234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=32234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=32234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}