user controls can be called inside an aspx page by registering it first
write this tag inside aspx page
<%@ Register Src="~/Test.ascx" TagName="TestAscx" TagPrefix="uc1" %>
Usage:
<uc1:TestAscx ID="asd" runat="server" />
write this tag inside aspx page
<%@ Register Src="~/Test.ascx" TagName="TestAscx" TagPrefix="uc1" %>
Usage:
<uc1:TestAscx ID="asd" runat="server" />
No comments:
Post a Comment