I'm trying to create an .ascx control from scratch for the first time, and running into issues. I get the following error when I run my code. Many thanks for any guidance!
Server Error in '/' Application.
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Content ('</MyCustomControls:TestUserControl>
</asp:Content>') does not match any properties within a 'CustomUserControl.TestUserControl', make sure it is well-formed.
Line 7: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Line 8: <p>
Line 9: <CustomControls:TestUserControl Name="MyControl" runat=server></MyCustomControls:TestUserControl>
Line 10: </p>
Line 11: </asp:Content>
Source File: /default.aspx Li
View Complete Post