TechTalk Genome v4.2

ReferenceQueryField.GetDataDomainRole Method 

Gets the data domain role of persistent objects bound to the drop-down list 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 drop-down list control.

Remarks

Please note that the method attempts to find the GenomeDataSource control associated with the QueryForm control by traversing the control hierarchy to get the data domain role of the persistent objects 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

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