.net Forums Rating System ?
Dec 3, 2010
i need to create a rating mechanism for a website just like the one in here (asp.net forums) but i don't know how it's working and it's a little confusing since i saw someone with 105 posts is rated 35 point while another person with 35 posts has the samerate
View 1 Replies
Similar Messages:
Feb 20, 2011
I have a rating control that shows the average rating of a user supplied posting (think of a forum post that others will rate). So if the average rating for that posting is lets say 3 out of 5 all users will see 3 stars. If someone wants to rate the posting, then they could click lets say 4 stars and I save the rating to the database, re-average the current rating and display the result (which may or may not still be 3 at this point). So far so good. The problem comes in when a user wants to agree that it's 3 stars. Since the rating control currently shows 3 stars, choosing 3 again does not cause a postback. In my case even though the value didnt technically change, I need to capture the users choice so I can average it in and save that users rating. I also modify the UI so that I can show each user of the site what he/she choose as a rating.How can i get the control to let me know that a user choose a star rating even if its the same one the control is currently displaying?
View 3 Replies
Aug 11, 2010
Amazon has a star rating system. Other sites use smiley faces that change color when you mouse over them. Does anyone know of an API I can get or a simple way to put this together?
This is an ASP.NET 2010 app.
View 5 Replies
Aug 10, 2010
Just to rule it out, I have tried using the AJAX Rating system to no success, so i've decided to develop my own (as useful as AJAX seems to be for some reason I've never got it working on my system). I'm using a Star Rating Widget I attained from [URL] and from there I've taken a demo (so that it is working) and started editing it accordingly to my needs.
What I am setting out to do convert the radio buttons to stars (done via jQuery and working correctly). The user selects their rating then clicks the the Submit Button. The C# in the Submit OnClick Event then accesses the database, using LINQ to SQL, taking the current 'NumberOfVotes' value and adds one to the number, storing in an int object ready to update. The current 'Rating' Value is then updated too, by adding the Value of the Radio button to the current Rate Value then divided by the number of votes (to create the average rating) 'This article has been rated 4.28/5 by 286 Voters.'
However, the value from the selected radio button isnt being passed through to the back end, as debug has shown, and as you will see in the code below. The jQuery does state a callback which i had initially commented out (due to errors being caused). I have since reassigned it as advised, with a small edit in it to call the btnSubmit control and thus its onclick Event. Im not sure on a resolution to this having tried the only advised suggestion fail. The result of which posts back the message which should appear if no value/star was selected ("You have not selected a rating!"). If I can somehow transfer the jQuery to the ASp:RadioList I would do so, as I think this would be better in terms of calling and processing the data. Being new to it, I have no idea. In addition, apologies if my coding appears scrappy or poor
C#:
Csharp Code:
protected void btnSubmit_Click(object sender, EventArgs e)
{
RatingSys rate = RatingSys.Get(1);
int RateID = Convert.ToInt32(hdnRateID.Value);
int CurrentRating = rate.Rating.Value;
int RadioValue = 0;
int NewRating = 0;
int NumberOfVotes = 0;
if (!radio1.Checked || !radio2.Checked || !radio3.Checked || !radio4.Checked || !radio5.Checked)
{
lblMessage.Text = "You have not selected a rating!";
return;
}...................
View 1 Replies
Jan 29, 2011
I am now doing a project mobile musical website. I have used Ajax Toolkit in my last project and so that I know how to install it and work with it...
I have used CalenderExtender, TextboxWatermark, Password Strength, etc. But I am not familiar with the rating control. How does it work ?
View 1 Replies
Aug 18, 2015
Article [URL] .....
Above article show rating only integer part .
How can i show decimal rating on ajax rating control not any labels?
View 1 Replies
Mar 19, 2010
I am trying to convert 22 rating control currentrating values to a double instead of int
I am also displaying in a label control so it is converted to String here is what I have
[Code]....
My display label displays
Rating is x stars out of 5.0 stars
I also record the results in a decimal 1.1 form
I did Convert.ToDouble(rate1.CurrentRating) + Convert.ToDouble(rate2.CurrentRating) .....
but I get a 7 digit after 0 return, how do i round that to a single point?
View 1 Replies
Oct 11, 2013
I am using AJAX Rating Control.I want half star rating.For Example,If My AVG Rating Count is 3 Then My Stars Wants to be show 3If My AVG Rating Count is 2.5 Then My Stars Wants to be Show 2 1/2 mark i.e., two & half stars.But,it was not showing then also it is showing 3 stars.
View 1 Replies
Jul 6, 2010
I am creating a social website and i want to create asp.net forums. and i dont create forums so please give the solution of this problem....
View 8 Replies
Oct 30, 2010
I have a web Application in .net 3.5 sp1 in which i need to added some forums functionality like Post forums (as we post on forums.Asp.net) and 1 shoutBox in which all registerd user leave there Messages....an any one tell me that what is ways of acheiving itLike i create this as new Project or i add this functionality from interne
View 8 Replies
May 17, 2010
how to create forums for my website. I downloaded forum software from Jilbilt.com Its working fine but I need to integrate it with my website. Like if a user registers in my site he should be aoutomaticalluy registered with the forums
also.
View 1 Replies
Apr 10, 2010
I want to use an editor contorl for my website and i want tit exactly like this Website Can you please tell me which is the editor it is??
View 1 Replies
Jan 7, 2011
How to create unique URL like our forums URL?
I have PO table with POID as unique.
I need to set unique URL for each PO like our each new Thread has unique URL forums.asp.net/12345.aspx
On the whole i need unique URL for each PO as our forums has unique URL for each new post. Like this format( forums.asp.net/12345.aspx)
View 9 Replies
Dec 15, 2010
've created asp site, and i would like to get free & nice forum to include .. where i can get that ?also, i would like to get the best offers for server ( best hosters ) which support asp
View 2 Replies
Mar 23, 2010
I Want asp .net project for forums with complete source code, its working like this forum...
View 2 Replies
Dec 10, 2010
I need to develop the forums module in a website. Now i am able to post the forums but how to track the record like comments posted by the viewers.
View 1 Replies
Apr 9, 2010
I need to know, whether extjs 3.1 is available of exception handling and logging build in library .Like Logging the exception as log file , with the specification of error whether it is major or minor or critical or info.new log file creating on specified size exceeded. etc...
View 2 Replies
Sep 23, 2010
asked in forums but I could not find any forum, newsgroup or discussion boards for "trainers" (teachers, coachers) and supporters (writers of courses, sysadmins of labs, et al) of professional courses for IT developers Might be the certified by major vendors trainers have the sites with forums but they are closed to non-certified "colleagues". Are there? I even do not know!I train as a hobby, sporadically, and I am not certified as trainer, at least by private entity. I daresay I spend on preparation to train more than I earn from training
View 1 Replies
Sep 24, 2010
I want to create a software (desktop or web application) that have some bellow features:At beginning, I will add some forum (that I want to post topic to there) to software (to make it easier, at first the kind of forum is just vbulletin maybe)Posting topic to forum automatically (Type topic content and select forum to post)Manage all topic in all forum that we have post before.Posting reply to each reply.I think this software is very useful for those who want to post and manage a lot of topic in a lot of forum.
Do you think any soft like this one that was created already?How can I get start with this? At now, can I use C#, ASP.NET to implement this idea?
View 1 Replies
Jan 18, 2011
I am designing a forums website. I have prepared two tables - topic and post
topic - topicid (pk),sub, message (content), replies (count of replies), catid(fk), createdby, createddate, updatedby, updatedon, viewers( count of views)
post - postid(pk), topicid(fk), post (content), createdby, createddate, updatedby, updatedon.
retrieving data from both tables in posts page where the 1st post is in the topic table and rest i.e. replies are in the post table.
View 8 Replies
Apr 30, 2010
I ve made a webpage in which I am displaying images in a grid.(the logic is that i have stored the path in the database and using EvalPath i m displaying the image.) Now i have also added a Javascript code which generates a lightbox kinda effect. The problem is that I want to take the Id of the image so that when the user tries to RATE any image on the site, a code executes backend that stores the rating. How do I acheive this without a postback.??
View 1 Replies
Jan 15, 2011
How to restrict user to do rating only once..i m using AjaxControlToolkit Rating Control i VB.NET !
View 1 Replies
Apr 16, 2010
i want the logic for rating.
View 1 Replies
Jan 10, 2011
i want this type of rating star in gridview asp.net (vb) can anybody provide me the vb.net tutorial or code to develop this ?
View 1 Replies
Jan 16, 2010
how do i create a rating control in asp.net in vs2008
View 4 Replies