I created a custom masterpage using the SP2013 Design Manager. I also created a SharePoint solution in Visual studio 2012 with a custom usercontrol (ascx) and custom webparts.
The masterpage works and so do the custom webparts.
However I'm not able to add the custom usercontrol to the master page. I added the @register statement to the source html page (which gets converted to a .master by SharePoint).
<!--SPM:<%@ Register Src="~/_controltemplates/15/AmToPm.Client.Intranet/FeedbackControl.ascx" TagPrefix="uc1" TagName="FeedbackControl" %>-->
And further down in my HTML
<!--CS: Start Create Snippets From Custom ASP.NET Markup Snippet--> <!--SPM:<uc1:FeedbackControl runat="server" id="FeedbackControl" />--> <!--CE: End Create Snippets From Custom ASP.NET Markup Snippet-->
When running this page I get an error: "Unknown server tag 'uc1:FeedbackControl'." When I open the .master page directly the @register statement is not there. (Lost during the 'conversion'? ) Which explains the above error. All other changes I made are in the master page.
The usercontrol is deployed and present in the '_controltemplates' folder.
Has anybody tried this yet? Adding a custom ascx in a masterpage created in SP2013 Design Manager?