Custom Control in ASP.NET C#

前端 未结 5 789
[愿得一人]
[愿得一人] 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 12:54

    The easiest thing to do is to drag-and-drop the Literal.ascx on to the page (if the page is in the same solution) .If the page is another solution, you could add the control to VS toolbox and drag-and-drop the control on the page.

提交回复
热议问题