Class BaseNodeTemplate
Base template used to display catalog nodes.
Implements
Inherited Members
Namespace: Mediachase.Commerce.Website.BaseControls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0Syntax
public class BaseNodeTemplate : BaseStoreUserControl, IContextUserControl
Constructors
BaseNodeTemplate()
Declaration
public BaseNodeTemplate()
Properties
CatalogName
Gets the name of the catalog.
Declaration
public virtual string CatalogName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the catalog. |
Code
Gets the code.
Declaration
public virtual string Code { get; }
Property Value
Type | Description |
---|---|
System.String | The code. |
Node
Gets the node.
Declaration
public virtual CatalogNode Node { get; }
Property Value
Type | Description |
---|---|
CatalogNode | The node. |
Methods
LoadContext(IDictionary)
Loads the context. Implements interface IContextUserControl.
Declaration
public virtual void LoadContext(IDictionary context)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IDictionary | context | The context. |
LoadNewNode()
Loads the new node.
Declaration
protected virtual CatalogNode LoadNewNode()
Returns
Type | Description |
---|---|
CatalogNode |
OnPreRender(EventArgs)
Raises the System.Web.UI.Control.PreRender event.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs object that contains the event data. |
RenderHeaders()
Sets the headers.
Declaration
protected virtual void RenderHeaders()