ASPxGridView.FindHeaderTemplateControl(GridViewColumn, String) Method
Searches for the specified server control contained within the column header‘s template.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| column | GridViewColumn | A GridViewColumn descendant that represents the column within the ASPxGridView. |
| id | String | A String value that identifies the control within the specified column’s header. |
Returns
| Type | Description |
|---|---|
| Control | A Control object that represents the control contained within the specified column header’s template. |
Remarks
...
ASPxTextBox text = ASPxGridView1.FindHeaderTemplateControl(ASPxGridView1.Columns[0], "TextBox2") as ASPxTextBox;
ASPxLabel label = ASPxGridView1.FindHeaderTemplateControl(ASPxGridView1.Columns[0], "lblTestNameColPrime") as ASPxLabel;
...
See Also