我想扩展ListView
控件:
using System;
using System.Data;
using System.Collections;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.Resources;
using System.ComponentModel.Design;
using System.Globalization;
namespace My.WebControls
{
/// <summary>
/// my ListView
/// </summary>
[Designer(typeof(System.Web.UI.Design.WebControls.DataBoundControlDesigner))]
public class MyListView : ListView
{
}
}
但编译器并没有看到这个控件。我已经包含了system.web.ui.webcontrols
命名空间,我还需要检查其他什么吗?我使用的是3.5框架。
Control
类被找到了,还有Datagrid
和其他控件。 - anmarti