C# Class E_Handel.Home

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

Protected Properties

Property Type Description
AddToCartAd1 global::System.Web.UI.WebControls.Button
AddToCartAd2 global::System.Web.UI.WebControls.Button
AddtoCartPop1 global::System.Web.UI.WebControls.Button
AddtoCartPop2 global::System.Web.UI.WebControls.Button
AddtoCartPop3 global::System.Web.UI.WebControls.Button
DiscountPriceAd1 global::System.Web.UI.WebControls.Label
DiscountPriceAd2 global::System.Web.UI.WebControls.Label
DiscountPricePop1 global::System.Web.UI.WebControls.Label
DiscountPricePop2 global::System.Web.UI.WebControls.Label
DiscountPricePop3 global::System.Web.UI.WebControls.Label
ImageAd1 global::System.Web.UI.WebControls.Image
ImageAd2 global::System.Web.UI.WebControls.Image
ImagePop1 global::System.Web.UI.WebControls.Image
ImagePop2 global::System.Web.UI.WebControls.Image
ImagePop3 global::System.Web.UI.WebControls.Image
LinkAd1 global::System.Web.UI.WebControls.HyperLink
LinkAd2 global::System.Web.UI.WebControls.HyperLink
LinkPop1 global::System.Web.UI.WebControls.HyperLink
LinkPop2 global::System.Web.UI.WebControls.HyperLink
LinkPop3 global::System.Web.UI.WebControls.HyperLink
OriginalPriceAd1 global::System.Web.UI.WebControls.Label
OriginalPriceAd2 global::System.Web.UI.WebControls.Label
OriginalPricePop1 global::System.Web.UI.WebControls.Label
OriginalPricePop2 global::System.Web.UI.WebControls.Label
OriginalPricePop3 global::System.Web.UI.WebControls.Label
PanelAd1 global::System.Web.UI.WebControls.Panel
PanelAd2 global::System.Web.UI.WebControls.Panel
TitleAd1 global::System.Web.UI.WebControls.Label
TitleAd2 global::System.Web.UI.WebControls.Label
TitlePop1 global::System.Web.UI.WebControls.Label
TitlePop2 global::System.Web.UI.WebControls.Label
TitlePop3 global::System.Web.UI.WebControls.Label
categoryCarousel global::System.Web.UI.HtmlControls.HtmlGenericControl

Protected Methods

Method Description
AddToCartAd1_Click ( object sender, EventArgs e ) : void
AddToCartAd2_Click ( object sender, EventArgs e ) : void
AddtoCartPop1_Click ( object sender, EventArgs e ) : void
AddtoCartPop2_Click ( object sender, EventArgs e ) : void
AddtoCartPop3_Click ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
AddToCart ( BLProduct product ) : void
PopulateCarousel ( ) : void
RetrieveRandomDiscountedProducts ( ) : void
ShowAds ( ) : void
ShowPopularProducts ( ) : void

Method Details

AddToCartAd1_Click() protected method

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

AddToCartAd2_Click() protected method

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

AddtoCartPop1_Click() protected method

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

AddtoCartPop2_Click() protected method

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

AddtoCartPop3_Click() protected method

protected AddtoCartPop3_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

Property Details

AddToCartAd1 protected_oe property

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

AddToCartAd2 protected_oe property

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

AddtoCartPop1 protected_oe property

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

AddtoCartPop2 protected_oe property

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

AddtoCartPop3 protected_oe property

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

DiscountPriceAd1 protected_oe property

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

DiscountPriceAd2 protected_oe property

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

DiscountPricePop1 protected_oe property

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

DiscountPricePop2 protected_oe property

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

DiscountPricePop3 protected_oe property

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

ImageAd1 protected_oe property

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

ImageAd2 protected_oe property

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

ImagePop1 protected_oe property

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

ImagePop2 protected_oe property

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

ImagePop3 protected_oe property

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

LinkAd1 protected_oe property

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

LinkAd2 protected_oe property

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

LinkPop1 protected_oe property

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

LinkPop2 protected_oe property

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

LinkPop3 protected_oe property

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

OriginalPriceAd1 protected_oe property

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

OriginalPriceAd2 protected_oe property

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

OriginalPricePop1 protected_oe property

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

OriginalPricePop2 protected_oe property

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

OriginalPricePop3 protected_oe property

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

PanelAd1 protected_oe property

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

PanelAd2 protected_oe property

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

TitleAd1 protected_oe property

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

TitleAd2 protected_oe property

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

TitlePop1 protected_oe property

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

TitlePop2 protected_oe property

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

TitlePop3 protected_oe property

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

categoryCarousel protected_oe property

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