3
Reply

where should we register a user control in ASP.NET

sivaram praveen

sivaram praveen

17y
5.1k
0
Reply

    in page directives,register user controls <%@ Register TagPrefix="uc" TagName="Spinner" Src="~/Controls/Spinner.ascx" %> and inside form you can call user control <uc:Spinner id="Spinner1" runat="server" MinValue="1" MaxValue="10" />

    Or, You can simply drag control from solution explorer and drop in the web page.

    In the Register directive