C# 클래스 SitefinityWebApp.Custom.eCommerce.Frontend.Reviews.Controls.Reviews

파일 보기 프로젝트 열기: esitefinity/EcommercePowerPack

보호된 프로퍼티들

프로퍼티 타입 설명
SUP global::Telerik.Sitefinity.Web.UI.PublicControls.SitefinityUpdatePanel
addRate global::Telerik.Web.UI.RadRating
addReview global::System.Web.UI.WebControls.Panel
btnLoadMore global::System.Web.UI.WebControls.Button
btnShowReview global::System.Web.UI.HtmlControls.HtmlAnchor
btnSubmit global::System.Web.UI.WebControls.Button
comboFilter global::Telerik.Web.UI.RadComboBox
hdCount global::System.Web.UI.WebControls.HiddenField
imgCurrentAvatar global::Telerik.Web.UI.RadBinaryImage
lbl global::System.Web.UI.WebControls.Label
lblErrorOrSuccess global::System.Web.UI.WebControls.Label
lblReviewed global::System.Web.UI.WebControls.Label
listReviews global::Telerik.Web.UI.RadListView
ratingOverview global::Telerik.Web.UI.RadRating
response global::System.Web.UI.WebControls.Panel
txtComment global::System.Web.UI.WebControls.TextBox
txtTitle global::System.Web.UI.WebControls.TextBox
validateThoughts global::System.Web.UI.WebControls.RequiredFieldValidator
validateTitle global::System.Web.UI.WebControls.RequiredFieldValidator

공개 메소드들

메소드 설명
CreateRatingAndReview ( string username, string title, string thought, int rating, bool verified, Product product ) : void
GetCustomerByUser ( Guid userId ) : Customer
GetReviewsById ( Guid id ) : IQueryable
alreadyReviewed ( IQueryable source, string currentUser ) : bool
isValidProduct ( string url ) : bool
setLabels ( string Username, bool reviewed, int count ) : void
wasPurchased ( Guid productId, Guid customerId ) : bool

보호된 메소드들

메소드 설명
GetImage ( string username ) : byte[]
Page_Load ( object sender, EventArgs e ) : void
btnLoadMore_Click ( object sender, EventArgs e ) : void
btnSubmit_Click ( object sender, EventArgs e ) : void
comboFilter_SelectedIndexChanged ( object sender, Telerik e ) : void
listReviews_ItemDataBound ( object sender, Telerik e ) : void

비공개 메소드들

메소드 설명
SUP_Load ( object sender, EventArgs e ) : void
SetMessage ( string css, bool AddReview, bool ShowReview, bool Response, bool Reviewed, string message ) : void
totalRating ( IQueryable source ) : decimal

메소드 상세

CreateRatingAndReview() 공개 메소드

public CreateRatingAndReview ( string username, string title, string thought, int rating, bool verified, Product product ) : void
username string
title string
thought string
rating int
verified bool
product Product
리턴 void

GetCustomerByUser() 공개 정적인 메소드

public static GetCustomerByUser ( Guid userId ) : Customer
userId Guid
리턴 Customer

GetImage() 보호된 메소드

protected GetImage ( string username ) : byte[]
username string
리턴 byte[]

GetReviewsById() 공개 메소드

public GetReviewsById ( Guid id ) : IQueryable
id Guid
리턴 IQueryable

Page_Load() 보호된 메소드

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

alreadyReviewed() 공개 메소드

public alreadyReviewed ( IQueryable source, string currentUser ) : bool
source IQueryable
currentUser string
리턴 bool

btnLoadMore_Click() 보호된 메소드

protected btnLoadMore_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

btnSubmit_Click() 보호된 메소드

protected btnSubmit_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

comboFilter_SelectedIndexChanged() 보호된 메소드

protected comboFilter_SelectedIndexChanged ( object sender, Telerik e ) : void
sender object
e Telerik
리턴 void

isValidProduct() 공개 메소드

public isValidProduct ( string url ) : bool
url string
리턴 bool

listReviews_ItemDataBound() 보호된 메소드

protected listReviews_ItemDataBound ( object sender, Telerik e ) : void
sender object
e Telerik
리턴 void

setLabels() 공개 메소드

public setLabels ( string Username, bool reviewed, int count ) : void
Username string
reviewed bool
count int
리턴 void

wasPurchased() 공개 정적인 메소드

public static wasPurchased ( Guid productId, Guid customerId ) : bool
productId Guid
customerId Guid
리턴 bool

프로퍼티 상세

SUP 보호되어 있는 프로퍼티

SUP control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Sitefinity.Web.UI.PublicControls.SitefinityUpdatePanel SUP
리턴 global::Telerik.Sitefinity.Web.UI.PublicControls.SitefinityUpdatePanel

addRate 보호되어 있는 프로퍼티

addRate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadRating addRate
리턴 global::Telerik.Web.UI.RadRating

addReview 보호되어 있는 프로퍼티

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

btnLoadMore 보호되어 있는 프로퍼티

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

btnShowReview 보호되어 있는 프로퍼티

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

btnSubmit 보호되어 있는 프로퍼티

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

comboFilter 보호되어 있는 프로퍼티

comboFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadComboBox comboFilter
리턴 global::Telerik.Web.UI.RadComboBox

hdCount 보호되어 있는 프로퍼티

hdCount control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdCount
리턴 global::System.Web.UI.WebControls.HiddenField

imgCurrentAvatar 보호되어 있는 프로퍼티

imgCurrentAvatar control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadBinaryImage imgCurrentAvatar
리턴 global::Telerik.Web.UI.RadBinaryImage

lbl 보호되어 있는 프로퍼티

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

lblErrorOrSuccess 보호되어 있는 프로퍼티

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

lblReviewed 보호되어 있는 프로퍼티

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

listReviews 보호되어 있는 프로퍼티

listReviews control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadListView listReviews
리턴 global::Telerik.Web.UI.RadListView

ratingOverview 보호되어 있는 프로퍼티

ratingOverview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadRating ratingOverview
리턴 global::Telerik.Web.UI.RadRating

response 보호되어 있는 프로퍼티

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

txtComment 보호되어 있는 프로퍼티

txtComment control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtComment
리턴 global::System.Web.UI.WebControls.TextBox

txtTitle 보호되어 있는 프로퍼티

txtTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtTitle
리턴 global::System.Web.UI.WebControls.TextBox

validateThoughts 보호되어 있는 프로퍼티

validateThoughts control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator validateThoughts
리턴 global::System.Web.UI.WebControls.RequiredFieldValidator

validateTitle 보호되어 있는 프로퍼티

validateTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator validateTitle
리턴 global::System.Web.UI.WebControls.RequiredFieldValidator