top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

User Controls in ASP.NET

+7 votes
312 views

How to create your own controls?
Basic steps will be helpful.

posted Feb 13, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

User controls are created using .ASCX in ASP.NET. After .ASCX file is created you need to two
things in order that the ASCX can be used in project:.
• Register the ASCX control in page using the <percentage@ Register
directive.Example
<%@ Register tag prefix="Accounting" Tag name="footer" Src="Footer.ascx" %>
• Now to use the above accounting footer in page you can use the below directive.

answer Feb 19, 2014 by Atul Mishra
Similar Questions
+1 vote

Are paths such as HREFs in user controls relative to the user control or to the
host page that they are in?

+4 votes

Can someone brief me about the new ASP.NET Identity system.

...