C# Class E_Handel.Product

Inheritance: System.Web.UI.Page
Mostra file Open project: KodKnackarGanget/E-Handel

Protected Properties

Property Type Description
ButtonAddToCart global::System.Web.UI.WebControls.Button
DropDownVariants global::System.Web.UI.WebControls.DropDownList
discountProductPrice global::System.Web.UI.HtmlControls.HtmlGenericControl
linkViewTrailer global::System.Web.UI.HtmlControls.HtmlAnchor
originalProductPrice global::System.Web.UI.HtmlControls.HtmlGenericControl
productDescription global::System.Web.UI.HtmlControls.HtmlGenericControl
productImage global::System.Web.UI.HtmlControls.HtmlImage
productPrice global::System.Web.UI.HtmlControls.HtmlGenericControl
productQuantity global::System.Web.UI.HtmlControls.HtmlInputGenericControl
productTitle global::System.Web.UI.HtmlControls.HtmlGenericControl

Protected Methods

Method Description
AddToCart_Click ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
SendVariantChoice_SelectChange ( object sender, EventArgs e ) : void

Private Methods

Method Description
LoadProduct ( int productId ) : void
ShowVariants ( ) : void

Method Details

AddToCart_Click() protected method

protected AddToCart_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SendVariantChoice_SelectChange() protected method

protected SendVariantChoice_SelectChange ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

ButtonAddToCart protected_oe property

ButtonAddToCart control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button ButtonAddToCart
return global::System.Web.UI.WebControls.Button

DropDownVariants protected_oe property

DropDownVariants control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList DropDownVariants
return global::System.Web.UI.WebControls.DropDownList

discountProductPrice protected_oe property

discountProductPrice control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl discountProductPrice
return global::System.Web.UI.HtmlControls.HtmlGenericControl

linkViewTrailer protected_oe property

linkViewTrailer control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlAnchor linkViewTrailer
return global::System.Web.UI.HtmlControls.HtmlAnchor

originalProductPrice protected_oe property

originalProductPrice control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl originalProductPrice
return global::System.Web.UI.HtmlControls.HtmlGenericControl

productDescription protected_oe property

productDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl productDescription
return global::System.Web.UI.HtmlControls.HtmlGenericControl

productImage protected_oe property

productImage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlImage productImage
return global::System.Web.UI.HtmlControls.HtmlImage

productPrice protected_oe property

productPrice control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl productPrice
return global::System.Web.UI.HtmlControls.HtmlGenericControl

productQuantity protected_oe property

productQuantity control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlInputGenericControl productQuantity
return global::System.Web.UI.HtmlControls.HtmlInputGenericControl

productTitle protected_oe property

productTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl productTitle
return global::System.Web.UI.HtmlControls.HtmlGenericControl