Click or drag to resize
MultiBuyDiscountEditExtender Class
Extender for MultiBuy Discount new/edit page
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UIControlExtender
    CMS.Base.Web.UIControlExtenderUIForm
      CMS.Ecommerce.Web.UIMultiBuyDiscountEditExtender

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
Syntax
C#
public class MultiBuyDiscountEditExtender : ControlExtender<UIForm>

The MultiBuyDiscountEditExtender type exposes the following members.

Constructors
  NameDescription
Public methodMultiBuyDiscountEditExtender
Top
Properties
Methods
  NameDescription
Protected methodControl_OnAfterSave
Removes bindings after switching the type of MultiBuy Discount. Clears cache which stores type of application (departments/products).
Protected methodControl_OnBeforeSave
Clears MultiBuyDiscountApplyToSKUID (GET Y product) if discount is configured to get cheapest product from set. Sets a flag to determine whether discount type was switched.
Protected methodControl_PreRender
Displays/hides redirection message if validation failed.
Public methodInit
Initializes the extender using the specified control.
(Inherited from ControlExtenderTControl.)
Public methodOnInit
Initializes the extender.
(Overrides ControlExtenderOnInit.)
Protected methodPage_Load
Set up dummy form fields.
Top
See Also