Skip to main content
A newer version of this page is available. .
Tab

ASPxGridView.FindParentGridTemplateContainer(Control) Method

Returns the template container object of the immediate parent (master) ASPxGridView for the specified object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public static GridViewBaseRowTemplateContainer FindParentGridTemplateContainer(
    Control control
)

Parameters

Name Type Description
control Control

The template container’s web control to obtain.

Returns

Type Description
GridViewBaseRowTemplateContainer

A GridViewBaseRowTemplateContainer object representing the template container for the specified control.

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