ASPxGridView.FindParentGridTemplateContainer(Control) Method
In This Article
Returns the template container object of the immediate parent (master) ASPxGridView for the specified object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public static GridViewBaseRowTemplateContainer FindParentGridTemplateContainer(
Control control
)
#Parameters
Name | Type | Description |
---|---|---|
control | Control | The template container’s web control to obtain. |
#Returns
Type | Description |
---|---|
Grid |
A Grid |
#Remarks
The static FindParentGridTemplateContainer method can be useful, if you define the content within a template of any grid row (such as the Edit Form, data, preview, group and in-line edit rows), and need to obtain a template container object provided for the template by the ASPxGridView control.
See Also