You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Product Class > Product Properties > DefaultProductID
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Product.DefaultProductID Property

Enter a default product’s ID. This is the default item that’s displayed when the template containing this control is viewed by a site visitor and a product ID is not dynamically passed. To make this server control dynamic, enter zero (0) for this property and set the DynamicProductParameter to the QueryString parameter used to pass the product ID.

C#
[Bindable(true)]
[Category("Ektron")]
[DefaultValue(0)]
[Description("Enter a default product�s ID. This is the default item that�s displayed when the template containing this control is viewed by a site visitor and a product ID is not dynamically passed. To make this server control dynamic, enter zero (0) for this property and set the DynamicProductParameter to the QueryString parameter used to pass the product ID. ")]
public long DefaultProductID;
Visual Basic
<Bindable(true)>
<Category("Ektron")>
<DefaultValue(0)>
<Description("Enter a default product�s ID. This is the default item that�s displayed when the template containing this control is viewed by a site visitor and a product ID is not dynamically passed. To make this server control dynamic, enter zero (0) for this property and set the DynamicProductParameter to the QueryString parameter used to pass the product ID. ")>
Public Property DefaultProductID() As long
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!