Class CatalogItemsDataSource

Represents catalog items data source to data-bound controls.

Inheritance
System.Object
CatalogItemsDataSource
Namespace: Mediachase.Commerce.Catalog.DataSources
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CatalogItemsDataSource : DataSourceControl

Constructors

CatalogItemsDataSource()

Declaration
public CatalogItemsDataSource()

Properties

Parameters

Gets or sets the parameters.

Declaration
public ItemSearchParameters Parameters { get; }
Property Value
Type Description
ItemSearchParameters

The parameters.

ResponseGroup

Gets or sets the response group.

Declaration
public CatalogNodeResponseGroup ResponseGroup { get; }
Property Value
Type Description
CatalogNodeResponseGroup

The response group.

Methods

GetView(String)

Gets the named data source view associated with the data source control.

Declaration
protected override DataSourceView GetView(string viewName)
Parameters
Type Name Description
System.String viewName

The name of the System.Web.UI.DataSourceView to retrieve. In data source controls that support only one view, such as System.Web.UI.WebControls.SqlDataSource, this parameter is ignored.

Returns
Type Description
System.Web.UI.DataSourceView

Returns the named System.Web.UI.DataSourceView associated with the System.Web.UI.DataSourceControl.

GetViewNames()

Gets a collection of names, representing the list of System.Web.UI.DataSourceView objects associated with the System.Web.UI.DataSourceControl control.

Declaration
protected override ICollection GetViewNames()
Returns
Type Description
System.Collections.ICollection

An System.Collections.ICollection that contains the names of the System.Web.UI.DataSourceView objects associated with the System.Web.UI.DataSourceControl.