26得票4回答
如何在ASP.NET页面上注册自定义服务器控件

我有一个项目,正在尝试在页面上注册自定义服务器控件(没有.ascx文件)。 我目前正在使用 类声明namespace MyApp.Controls{ public class CustomControl: WebControl{ public string Text ...