/// <summary> /// Default constructor /// </summary> public PropertyFilterCriteria() : base() { AutoGenerateColumns = false; RowCommand += new GridViewCommandEventHandler(FilterCriteria_RowCommand); RowDataBound += new GridViewRowEventHandler(FilterCriteria_RowDataBound); }
protected override void OnInit(EventArgs e) { base.OnInit(e); RowUpdating += new GridViewUpdateEventHandler(BulkEditGridView_RowUpdating); RowDataBound += new GridViewRowEventHandler(BulkEditGridView_RowDataBound); }
/// <summary> /// Initializes a new instance of <see cref="ZentityDataGridView"/>. /// </summary> protected ZentityDataGridView() : base() { AutoGenerateColumns = false; this.AllowPaging = true; this.ShowFooter = this.ShowHeader = true; DataKeyNames = new string[] { _idColumn }; PageIndexChanging += new GridViewPageEventHandler(GridView_PageIndexChanging); Sorting += new GridViewSortEventHandler(GridView_Sorting); RowDataBound += new GridViewRowEventHandler(GridView_RowDataBound); this.DataBound += new EventHandler(ZentityDataGridView_DataBound); }
public WinssDataGrid() : base() { // no way to detect if already set in aspx... AutoGenerateColumns = false; if (Width.IsEmpty) { Width = Unit.Pixel(585); } UseAccessibleHeader = false; //true will cause th tags to be used instead of td's, which can mess with our styles SetDefaultStyleItems(); RowDataBound += new GridViewRowEventHandler(DecodeHtmlEncodedLink); NoDataMessage.Visible = false; }