ASPxGridView.FindHeaderTemplateControl(GridViewColumn, String) Method
In This Article
Searches for the specified server control contained within the column header‘s template.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public Control FindHeaderTemplateControl(
GridViewColumn column,
string id
)
#Parameters
Name | Type | Description |
---|---|---|
column | Grid |
A Grid |
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