TechTalk Genome v4.2

GenomeReferenceField.GetDataDomainRole Method 

Gets the data domain role of the persistent objects that are bound to the data-bound control.

protected virtual string GetDataDomainRole(
   Control fieldControl
);

Parameters

fieldControl
A Control object of the field that can be used to access the control hierarchy.

Return Value

A string representing the data domain role of the objects bound to the data-bound control.

Remarks

Please note that the method attempts to find the GenomeDataSource control associated with the data-bound control by traversing the control hierarchy to get the persistent objects' data domain role, if the DataDomainRole property is not specified.

Requirements

Namespace: TechTalk.Genome.Extensions.Web.UI.Controls

Assembly: TechTalk.Genome.Extensions.Web (in TechTalk.Genome.Extensions.Web.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

GenomeReferenceField Class | TechTalk.Genome.Extensions.Web.UI.Controls Namespace