Locates the data source with the specified ID, searching upwards in the control hierarchy,
starting at the specified control.
Namespace:
Endeca.Web.UI
Assembly:
Endeca.Web (in Endeca.Web.dll) Version: 2.1.1.0 (2.1.1.620)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function FindDataSource(Of T As {Class, IDataSource}) ( _
dataSourceId As String, _
relativeTo As Control _
) As T |
Visual C++ |
---|
public:
generic<typename T>
where T : ref class, IDataSource
static T FindDataSource(
String^ dataSourceId,
Control^ relativeTo
) |
Type Parameters
- T
- Concrete type of the data source control to find.
Exceptions
See Also