ASP.Net User Controls and User Controls: These Are Two Alike

If they differ from each other, under what circumstances should we use any approach?

Also, what is the advantage of ascx over aspx?

+5
source share
3 answers

User controls are a form of user control that a visual designer provides. They are ideal for use when you want to use a reusable control on the same website. (You can create and package custom controls as separate assemblies, but this is beyond the scope of this question, and I know what was asked on SO).

- , - . , .

, ASCX ASPX - . ASCX - , ASPX ASP.Net. ASCX , ASPX Master.

, , - , , 7 , 5 , , . , , , ( , ).

, , , . User Controls Pages, .

ascx aspx. ascx . , , , . acsx -.

: , . ( ). , , , , . aspx.

+9

- . , libreries, .

, , .

aspx , ( )

+5

/

, ASP.Net . . , , , , .

- , , , HTML . . Web.UI.Control, (, ). , . , visual studio.

aspx. .

+3

All Articles