Custom Control in ASP.NET C#

前端 未结 5 804
[愿得一人]
[愿得一人] 2021-02-04 12:47

I created a simple custom control that only inherits from the Literal control, and doesn\'t have any extensions yet, code is empty.

Namespace: CustomControl

5条回答
  •  一个人的身影
    2021-02-04 13:01

    You forgot the src attribute.

    <%@ Register TagPrefix="web" Namespace="CustomControls" Src="PathToYourCustomControl" %> 
    

提交回复
热议问题