Web Forms :: Implement Star Voting System Using C#?
Sep 19, 2013How to show star voting system using ASP.Net, C#.
View 1 RepliesHow to show star voting system using ASP.Net, C#.
View 1 Repliesmy website is developed using asp.net, vb.net and sql server 2005.Now i want to develop a polling system, using vb.net or XML.and the polling sytem must have feature which is one person from one computer can only vote once per day. isitors of my site will not vote more than once per day.so can u redirect me to a site where i can get a steps to build this voting sytem or a source code to be downloaded freely?
View 4 RepliesI am looking into making a voting system for an event.
I would like to base the voting system off of MAC addresses. I would like to get the voters mac address, check to see if they have voted within the last 5 minutes, if they have not, let them vote and add their mac address and current date-time to a table as a record. If they have voted within the last 5 minutes, i would then inform them and tell them to try again later. If it has been longer then 5 minutes, i would clear their record from the database, let them vote and add a new record with their mac address and date-time.
The problem with using IP, is that most of the people voting will be on the same network (large organization) and i believe the ip the website would pickup would be the same.
I want to create a 5 star rating in which 5 stars will show. On mouse over, the color of star will change and it will show Bad, Average, Good, Very Good and Excellent. Near stars currently rated and number of raters will show. On mouse over, "currently rated" and "number of raters" will change into "Rate Now!". If you are rating first time then number of raters is increased by 1 and currently rated is calculated by Adding total ratings of raters divided by number of raters. After your rating the result is shown instantly. If you have already rated then in javascript the message will show that you have already rated this article. For checking that you have rated this article, there will be no login page. we can use cookies or other method to check that this user has alraedy rated this article or not. I want to create this 5 Star rating system using jQuery, ASP.Net, C# and SQL Server.How i will create this,
View 1 RepliesHow to create 5 Star rating using jQuery and SqlServer.
View 1 RepliesAmazon 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.
Article [URL] .....
Above article show rating only integer part .
How can i show decimal rating on ajax rating control not any labels?
How to implement chat system in our websites, like facebook, gmail. etc ...?
View 1 RepliesI am building a site similar to a forum. I would like to add voting and reporting abuse functions to my website by displaying those two buttons on each post the users submit. Has anybody by chance done this kind of work before? how to accomplish it as I am not a professional developer.
I'm using Windows 7, VWD 2010, Sql Sever 2008, IIS 7.
In my asp.net MVC 3 web application, I want to implement basic authentication system in my webapp. I have been searching and reading for past two days but still not able to get a hold of it.
I was following [URL]
I created a CustomMembershipProvider class in my models
[Code]....
In my webconfig file, I do have [Code]....
Now, I created a AccountController, in that I added following code
[Code]....
After that I added view fo Logon
[Code]....
Now, the first problem which I am facing is, when I Debug the webapplication, I get HTTP404 error. Url generated
[URL]
But when I try to open
[URL]
I have either an ASP.NET displaying my results, or a Silverlight client. And I'd like to show the current status of my server, or embedded device. (pretend the device reads temperature and humidity stats)
How should I send the status information from my device to the front end? Should I poll the device and save the results to SQL, Azure Table, or the like? (Azure is a technology that fits with this project for other reasons. That's why I mention it) Or should I create a WCF service that polls the device directly and returns the current status.
im am trying to write a forum using asp.net at the moment i have threads -> topics -> comments i realised that at the moment if users try to go back (from comments to topics and to threads), they can only use the back button in the browsers i am now trying to creat a menu like the one used in this forum (at the top "home >asp.net forums > general asp.net > getting started") as at anytime you can go back to see other topics at the moment i have tried to implement the following :
[Code]....
i thought that if i store get the topic_id from the address bar once, and store it in the session - then when i navigate to ..?comment_id - the topic_id would remain in the seesion i thought that in theory it kind of works, but now that i am trying to explain it here, i know that the session would then = to null. So i wondering is their any way to implement this navigation system
I want to implement Knowledge Management System in SharePoint.
View 1 RepliesI've never actually implemented a registration/login system before, so I'm trying my hand at making my own in C#/ASP.NET (not using ASP.NET's built-in membership provider). What I'm a little unclear on is how to utilize Session/cookies to keep a user logged in during and between sessions.
protected void Login_User(object sender, EventArgs e)
{
string username = usernameField.Text;
string password = passwordField.Text;
User user = UserRepository.FindUser(username);
if (user != null)
{
if (user.Password.Equals(Hash(password)))
{
// How do I properly login the user and keep track of his session?
}
else
Response.Write("Wrong password!");
}
else
Response.Write("User does not exist!");
}
anyone point me to a good/simple code to use for implementing a star rating system (5 star preferably) on my website. I am using asp.net 2.0 and C#.
View 1 RepliesI am having a lot of the same issue as this poster did with errors on initializing type.
I am trying to learn linq and am about ready to give up - don't get how this is easier...
I'm trying to do a simple update to product names in the product table based on the manufacturer ID
In order to do this I am looping through each record. I was initally successful with changing all names in the column but when I try to query the data, I continually run into multiple problems.
The following poster has had the same issue I have but his solution isn't working for me.
[URL]
I keep getting the same error on the opening bracket on the select statement in the SelectByManufacturerID function...
Error 1 Cannot initialize type 'DataBaseDataManagement.ProductName' with a collection initializer because it does not implement 'System.Collections.IEnumerable'
Button that does the actual updating...
[Code]....
The function that the button calls to get the query... ERROR
[Code]....
The class located in Query.cs...
[Code]....
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 Repliess there any way i can make the star rating to take half a star?
i have rating out of 5 and it can be any decimal between 1 and 5 (ex. 3.21, 1.75, etc)
I want to mark these numbers with half a star, so is it possible?
also i want the actual number (ex. 3.21, 1.75, etc) to be shown in the tooltip
how to do these 2 things?
Is there a half-star rating control I can use for asp.net/ajax
View 1 RepliesHow can i change the tooltips for each star in Rating component? I would like change the numberes to custom text for each star.
View 3 RepliesI want to implement a rating system for my application to rate events.I've been searching and I think this is the list that I need to do to achieve the rating system and I'll also attach what I found about each point.Find a JQuery plugin :
JRating, Opineo, RateItFind a suitable algorithm: I've searched a lot but didn't find a good algorithm till nowDetermine the database structure that I'm going to use
The c# code and the JavaScript code required to implement the plugin and send the poll results to the databaseI think that's it!
One row from my database is as below:
Director Movie Star
Quentin Tarantino Pulp Fiction Sam Jackson
James Cameron Terminator Arnold Schwarzzeneger
I created a DAL that calls into my database. I then have my BLL which calls into the DAL. This is then hooked up to two drop down lists, where drop down list 2 items are dependent on the selected item from dropdown list 1.
I used an objectDatsource to be the object that loads the data into the two drop down lists. If the user selects Quentin Tarantino in drop down list 1 then drop down list 2 would only show Pulp Fiction, but how could i get the correct star to be displayed based on this selection?
Is it correct to implement my caching object like this in my controller :
[code]....
And I Use it like this :
[code]....
i need a star rating system so that user can rate anything and that rating should be stored in database table.
View 1 RepliesIn .aspx page:
<asp:DataList ID="dataList1" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
<ItemTemplate>
<div class="single-blog-post">
<h3><%# Eval("PName") %></h3>
<div class="post-meta">
[code]....
I want to set the ImageUrl property of IMAGE control in code.