Table of Contents

Class PriceSelector

Namespace
InSite.UI.Portal.Billing
Assembly
InSite.UI.dll
public class PriceSelector : UserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor
Inheritance
PriceSelector
Implements
Inherited Members

Constructors

PriceSelector()

public PriceSelector()

Fields

CartButton

CartButton control.

protected Button CartButton

Field Value

Button

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

CheckoutButton

CheckoutButton control.

protected Button CheckoutButton

Field Value

Button

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

CounterPanel

CounterPanel control.

protected HtmlGenericControl CounterPanel

Field Value

HtmlGenericControl

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

ProductPriceSelectorComboBox

ProductPriceSelectorComboBox control.

protected ProductPriceSelectorComboBox ProductPriceSelectorComboBox

Field Value

ProductPriceSelectorComboBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

RemainingCount

RemainingCount control.

protected HtmlGenericControl RemainingCount

Field Value

HtmlGenericControl

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

SelectedCount

SelectedCount control.

protected HtmlGenericControl SelectedCount

Field Value

HtmlGenericControl

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Properties

Mode

public PriceSelectionModel.PriceSelectionMode Mode { get; }

Property Value

PriceSelectionModel.PriceSelectionMode

SelectedProductIdentifier

public Guid? SelectedProductIdentifier { get; }

Property Value

Guid?

Methods

ApplyCartUi(int, int?, bool, bool)

public void ApplyCartUi(int selectedQty, int? remainingQty, bool canViewCart, bool canCheckout)

Parameters

selectedQty int
remainingQty int?
canViewCart bool
canCheckout bool

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

OnLoad(EventArgs)

protected override void OnLoad(EventArgs e)

Parameters

e EventArgs

OnPreRender(EventArgs)

protected override void OnPreRender(EventArgs e)

Parameters

e EventArgs

ProductPriceSelectorComboBox_SelectedIndexChanged(object, EventArgs)

protected void ProductPriceSelectorComboBox_SelectedIndexChanged(object sender, EventArgs e)

Parameters

sender object
e EventArgs

Events

ClickCart

public event EventHandler ClickCart

Event Type

EventHandler

ClickCheckout

public event EventHandler ClickCheckout

Event Type

EventHandler

SelectionChanged

public event EventHandler<PriceSelectionModel.PriceSelectionChangedEventArgs> SelectionChanged

Event Type

EventHandler<PriceSelectionModel.PriceSelectionChangedEventArgs>