Property | Type | Description | |
---|---|---|---|
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 |
Method | Description | |
---|---|---|
CreateRatingAndReview ( string username, string title, string thought, int rating, bool verified, Product product ) : void | ||
GetCustomerByUser ( Guid userId ) : Customer | ||
GetReviewsById ( Guid id ) : IQueryable |
||
alreadyReviewed ( IQueryable |
||
isValidProduct ( string url ) : bool | ||
setLabels ( string Username, bool reviewed, int count ) : void | ||
wasPurchased ( Guid productId, Guid customerId ) : bool |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
SUP_Load ( object sender, EventArgs e ) : void | ||
SetMessage ( string css, bool AddReview, bool ShowReview, bool Response, bool Reviewed, string message ) : void | ||
totalRating ( IQueryable |
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 | |
return | void |
public static GetCustomerByUser ( Guid userId ) : Customer | ||
userId | Guid | |
return | Customer |
protected GetImage ( string username ) : byte[] | ||
username | string | |
return | byte[] |
public GetReviewsById ( Guid id ) : IQueryable |
||
id | Guid | |
return | IQueryable |
protected Page_Load ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
public alreadyReviewed ( IQueryable |
||
source | IQueryable |
|
currentUser | string | |
return | bool |
protected btnLoadMore_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
protected btnSubmit_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
protected comboFilter_SelectedIndexChanged ( object sender, Telerik e ) : void | ||
sender | object | |
e | Telerik | |
return | void |
protected listReviews_ItemDataBound ( object sender, Telerik e ) : void | ||
sender | object | |
e | Telerik | |
return | void |
public setLabels ( string Username, bool reviewed, int count ) : void | ||
Username | string | |
reviewed | bool | |
count | int | |
return | void |
public static wasPurchased ( Guid productId, Guid customerId ) : bool | ||
productId | Guid | |
customerId | Guid | |
return | bool |
protected global::Telerik.Sitefinity.Web.UI.PublicControls.SitefinityUpdatePanel SUP | ||
return | global::Telerik.Sitefinity.Web.UI.PublicControls.SitefinityUpdatePanel |
protected global::Telerik.Web.UI.RadRating addRate | ||
return | global::Telerik.Web.UI.RadRating |
protected global::System.Web.UI.WebControls.Panel addReview | ||
return | global::System.Web.UI.WebControls.Panel |
protected global::System.Web.UI.WebControls.Button btnLoadMore | ||
return | global::System.Web.UI.WebControls.Button |
protected global::System.Web.UI.HtmlControls.HtmlAnchor btnShowReview | ||
return | global::System.Web.UI.HtmlControls.HtmlAnchor |
protected global::System.Web.UI.WebControls.Button btnSubmit | ||
return | global::System.Web.UI.WebControls.Button |
protected global::Telerik.Web.UI.RadComboBox comboFilter | ||
return | global::Telerik.Web.UI.RadComboBox |
protected global::System.Web.UI.WebControls.HiddenField hdCount | ||
return | global::System.Web.UI.WebControls.HiddenField |
protected global::Telerik.Web.UI.RadBinaryImage imgCurrentAvatar | ||
return | global::Telerik.Web.UI.RadBinaryImage |
protected global::System.Web.UI.WebControls.Label lbl | ||
return | global::System.Web.UI.WebControls.Label |
protected global::System.Web.UI.WebControls.Label lblErrorOrSuccess | ||
return | global::System.Web.UI.WebControls.Label |
protected global::System.Web.UI.WebControls.Label lblReviewed | ||
return | global::System.Web.UI.WebControls.Label |
protected global::Telerik.Web.UI.RadListView listReviews | ||
return | global::Telerik.Web.UI.RadListView |
protected global::Telerik.Web.UI.RadRating ratingOverview | ||
return | global::Telerik.Web.UI.RadRating |
protected global::System.Web.UI.WebControls.Panel response | ||
return | global::System.Web.UI.WebControls.Panel |
protected global::System.Web.UI.WebControls.TextBox txtComment | ||
return | global::System.Web.UI.WebControls.TextBox |
protected global::System.Web.UI.WebControls.TextBox txtTitle | ||
return | global::System.Web.UI.WebControls.TextBox |
protected global::System.Web.UI.WebControls.RequiredFieldValidator validateThoughts | ||
return | global::System.Web.UI.WebControls.RequiredFieldValidator |