C# Class E_Handel.Home

Inheritance: System.Web.UI.Page
Show 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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