24 September 2013

Calling & Using User Control

// To call it on the page
<%@ Register Src="WebUserControl.ascx" TagName="MyUserControl" TagPrefix="uc1"%>

// To use it
<uc1:MyUserControl id="myControl" Runat="server" />


No comments:

Post a Comment