Register your user controls and custom controls in Web.Config

In ASP.NET web application you can develop user controls and custom server controls to increase your productivity and decrease code repetition. To use these user controls at your web pages you can register like this: <%@ Register Src="Controls/somecontrol.ascx" TagName="SomeControl" TagPrefix="myPrefix" %> And use like this: <html> <body>     <form id="form1" runat="server">         <myPrefix:header ID="SomeControl1" runat="server" />     </form> </body> </html> The registration step can […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top