I want to rate the product how can i check that how many users rated the product on that basis i want to show the rating.Many users view the product but they dnt date , i only want those users count who rated the product. My application is a website. I calculated the no og view of a product and of website. but want to maintain the no of users rated ?
I'm trying to get a decent sorting algorithm for my products database. Users can vote for their products with using scores from 0 to 5 (.5 scores are also possible like 2.5). My table structure currently looks like this:
Whenever a user votes I'm calculating the finalscore very simple like (TotalPoints / NumberOfVotes) = FinalScore. Then I sort the table on FinalScore and NumberOfVotes.Now while this works it's not excactly fair because a product which has only 1 vote of 5 stars can easily come in top rankings.I admit I'm not very good at statistics or algorithms to get a fair product listing and what I'm looking for is something which is not over the top diffucult but which is more fair then the method I'm using now.
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?
I am using a Rating Control in my .ASPX page, but in the Page_Load in my code-behind, for some reason, can't access this control to set some properties of the control. Why is this happening and how can I access it in my code behind? Below is where the rating is set, but when I try to access ratingSystem. , nothing is coming up for me in Intellisense, and if I just type it anyway and compile / build, it gives me errors.
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.
I had been using Visual studio 2010 beta 1. When I open it now, I get a notice that I have to register to continue to use it. So I click the button that says 'register now'. I fill out the form (name, email, etc.), but instead of giving my registration code, the system opens up [URL]. How do I get my registration code?
'm looking for an ASP .net discussion forum widget:I have read somehwere that the ASP .net forum implementation is avialable, but haven't been able to find it :-(.I have found yet another forum, but is GPL licensed, that means... not usable for a commercial product without publishing the source code.JitBits looks good, di you have any experience with this product?On the other hand my client is VB .net based, all the forums implementations I have found are C# based, will that mean that I have to create a subsite?
I have convert code from C# to vb.net, I have done some type tweaks, but the code still does not work. I need code in vb.net.I have created a test project here: http://www.screencast.com/t/M2Y2MzVkZDIFile : 20MB (GeoIP data files is the reason for the size)Please run the project and run the test pages. Could you help me fix the code and please make NOTES ON YOUR CHANGES.I need the final result in vb.netThe code uses maxmind.com free GeoIP database to get country and city etc from an IPAddress.
Can a required field validator be called from the code behind page?We have several check boxes and some of them require the user to enter a date, but not all of them.(This is not a checkbox list, but individual checkboxes).Any 1 of 6 different checkboxes selected makes a txtBox visible for users to enter a date.If they don't select one of these checkBoxes which require a date - it doesn't matter, the form will still be valid.I don't think validation groups can work here so looking towards doing through .vbHere's the existing code:
In my web page I have a Checkbox (datatype = tinyint/boolean) and 2 Required field validator (whose visibility is false). I want that when I check(tick) the checkbox, then required field validator visible = true, else not.For this I tried this code on Page_Load as well as on save button click, but it is not working:
I am using VB.NET & SQL Server. My sproc returns something like this which I need to display on my web page as below:
sproc returns:
ClientNumber ClientName Product ------------------------------------------ 100SON Sony TV 100SON Sony DVD Player 100SON Sony Cell Phone 200KEN Kenmoore Microwave 200KEN Kenmoore Dryer
Now based on these data, I need to display some information like below on label in the web page:
100SON - Sony - TV, DVD Player, Cell Phone 200KEN - Kenmoore - Microwave, Dryer
I need you advice on this.What would be the best way to do this?
(1) I can work further on this data in code to generate the required data or
(2) I can work further in the sproc itself to directly return the required data
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.??
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