How To Restrict User To Do Rating Only Once
Jan 15, 2011How to restrict user to do rating only once..i m using AjaxControlToolkit Rating Control i VB.NET !
View 1 RepliesHow to restrict user to do rating only once..i m using AjaxControlToolkit Rating Control i VB.NET !
View 1 RepliesI'm displaying a set of school names in a datalist... A user logins and see the list of school names where he can give rating for each school....Now the question is how can restrict the user to give rating only once for each particular school...(i' hav used ajax rating control..)..
View 3 RepliesI 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 RepliesI 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 ?
Article [URL] .....
Above article show rating only integer part .
How can i show decimal rating on ajax rating control not any labels?
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?
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 RepliesI want user to enter name in Arabic if the user enter in english it should give Message " Enter Message In Arabic " and same for English if user try to enter in arabic it should give a message "Enter Name in English" ...
View 1 Replieshow to restrict the other user if one works on the particular record.
i am having a table with the name tblProduct and i used to edit the records from the code behind using my website.
When one user login into the site and search for the particular products and edits the product and at the same time other user log in and try to edit the same product, i need to show the alert message, "the user (username) is already working on this. please wait for a while."
I have 2 types of users- administrator and students..
now whenever login...
a student can only add their their info, view other students' info and perform some other basic actions, and
an administrator can view the students' info, select & reject them for some particular criteria.
What can I do for these two types of users for control their activities??..
I am using [URL] ....
And my question is the user should not vote again if he/she already voted....
i created some pages in asp.net. but i want to allow the users only if he is login. how to do that. is there any controls available for that one.
View 3 RepliesHow to restrict user to select not more than 10 asp.net checkboxes on button click event , if user select more than 10 checkboxes then alert box will pop up that you can not select more than 10 checkboxes?
View 2 RepliesIf a user use back button of a browser and make any change on that webform then how can i restrict him to do so.I my case its a quiz and i don't wanna allow user to change his answer
View 3 RepliesI am using FileUpload control to facilitate Image file upload on my website. I want to restrict a user to upload only Image file. I am using
if (fupFirmLogo.PostedFile.ContentType == "image/Jpeg")
{
}
to check if the file is a image or not. I want to allow all image extensions like PNG, GiF, Jpeg, tif , BMP etc. How should I do it.
we have uploded multiple documents. i want to faclitate free user to download one of file.
If Free User want to download another file then i want to show message "Register now for download this file "
If User will complete the registration from then he can download multiple files.
I want to restrict the user in toolbar search by not allowing him/her using Some Special Characters like
('/','>','<','|').
$("#tblFundComp").bind("keydown",function(e)
{
if(e.keyCode >=48 && e.keyCode <=57 ) [code].....
I have placed this piece of code after before search function. But this does not work
i need a code for my web app where i want to restrict a user after...let say 10 visits....on the 11 th time when the user tries to login he/she gets a error messege denying login.maybe we can use session or cookies...but i dont want to limit..it with cookies i.e if he tries to enter after 30 days or so he is allow to login. what i raelly want is, a user has only 10 views after that he is unauthorized to login.
View 3 RepliesI am using asp.net calendar with ajax extension in my project.I want to restrict users from selecting current and old dates in the calendar when they are selecting Next appointment using the calendar.
View 2 RepliesI have an article table, I am using the login mechanisms provided my MVC2 , since it contains all the required functionalities that i need.(but i do not know what are the database tables that store these information) What i need is to display all the articles created by the login user. currently i am retrieving all the articles from the articles table , as i am not able to retrieve the login name to add it to the following query . the query code looks like this (which is part of the repository class which i have created):-
public IQueryable<Article_Type> FindUserArticle()
{
return from article in db.Article
// where article.createdby >= ???
orderby articletype.Article_Type_Id
select articletype;
}
i have 4 pages of website 2 pages are authorized to used by USER and 2 pages are restricted for useradmin can authorized to go all 4 pagesi need coding for Login window from which Admin/User Login
View 1 Repliesi am making a webform for university students to register projects.there is a dropdown list which will ask how many students have participated, suppose student select 3 students, now my question is how can i restrict user to enter only one students data,i want he/she should fill all three students data than the submit button should enabled.
View 5 RepliesI have 10 asp.net checkboxes in my webform i want if user select 4 checkboxes then on continue button click event it redirect to Default.aspx else if user select 6 checkboxes then click on continue button then javascript alert box will pop up and user will not redirect to default.aspx ...
View 2 RepliesI have developed a ASP.NET application,I have used sessions for parameter passing.I dont want to let the user to enter data when the session expired.Please suggest me how to do that.
View 1 RepliesI am using a listbox
<asp:ListBox ID="ListBox1" runat="server" DataSourceID="_dsOccTypes" DataTextField="ListDisplay"
DataValueField="ListValue" Rows="6" SelectionMode="Multiple" Width="450"></asp:ListBox>
There are 10 options in the list box but I want the user only to select a maximum of 4. If user selects more then 4 then I want to display a message to user that they cannot select more then 4 options.
How can I achieve the above using some custom validator control?