Rate A Product - Display 5 Stars?
Aug 25, 2010How can one rate a product like in Amazon ie display 5 stars, on mouse over star gets selected & on mouse click, rating is saved?
View 8 RepliesHow can one rate a product like in Amazon ie display 5 stars, on mouse over star gets selected & on mouse click, rating is saved?
View 8 Repliesi am using asp.net webform not asp.net MVC.
i want to make my webforms as single page application
ex: i have a webform for products and the correspoding Product Links
if i click on any products the related details of that product has to be dispaly in the same webform .
i dont want to goto another webfom and dispaly the details of the product.
I want to display records randomly in gridview from database
Eg :
id city category compname rate
1 newyork Books mediatech 1000
2 newyork Books Info tech 1000
3 newyork Books Sysmach 999
4 newyork Books Wifi texh 0
Now the data are displaying in descending order by rate wise and there are two company booked in same price which is 1000 . i want to display random which is one day mediatech should be in top and next day info tech should be in top.
so i need group by rate with newid()
I want to display records randomly in gridview from database
Eg :
id city category compname rate
1 newyork Books mediatech 1000
2 newyork Books Info tech 1000
3 newyork Books Sysmach 999
4 newyork Books Wifi texh 0
Now the data are displaying in descending order by rate wise and there are two company booked in same price which is 1000 . i want to display random which is one day mediatech should be in top and next day info tech should be in top.
I have a FormView Bound to an SQL data source. In the DATA there are 2 columns that i would like to multiply together and display there rate
<asp:TextBox ID="txtPeople" runat="server" Text='<%# Bind("People") %>'></asp:TextBox><asp:TextBox ID="txtRate" runat="server" Text='<%# Bind("Rate") %>'></asp:TextBox><asp:TextBox ID="txtTotal" runat="server" Text='<%# Bind("Rate * People") %>'></asp:TextBox>
This is just an example above but i believe it shows what i am trying to do, there is no calculated column in the database so i can not bind to that directly, and i can not just add the column to the data as its not in my permissions. So how do "Bind" the value of two columns multiplied together to a third text box?
I am developing a website that display products and the users will be able to rate these products. At the end of the month a winner product will be highlighted on the website home page. What I need to know is how to determine the winner product if I have the following rating scenario, The user will rate for the product by choosing a value from 1 to 5 where 1 mean bad and 5 excellent.
If 10 users voted for the product A and the average rating was 4 and 1 user voted for product B and the average rating were 5 that mean product B will be the winner. I feel this is not the correct method to determine the winner. one has better method that take in consideration the number of voted users to determine the winner?
I have to display price for a product in the format of $1,949.00
Present iam displayng like this $1949.00.Using the following code
protected string fool(object x)
{
return "$" + Convert.ToDouble(x).ToString("0.00");
}
I have a requirement to display my product details inside a tab control.
1. In the first tab, i need to display the image of the product and on the second tab, i need to display some text regarding the product.
2. In the products Search page, I need to display this tab control as the product. I need to display 10 products per page.
i am new to MVC 2 and i am trying to create a shopping cart system , now i am in delima either to use the User Control to display the Product with add to cart button dynamically or to use the controller to get the data and create a new view page.
kindly suggest also what i dont know is how to get the dynamic data in the view page in MVC 2.
I have a product category table with the following fields:
cat_id (PK)
Cat_name
Cat_desc
Parent_Cat_Id
Now when a user wants to add a product he should be able to select multiple categories from a listbox(multiselection enabaled). But to let the user know the hierarchy of the categories, I need to display them in the following style:
parent category 1
parent category 1->sub category 1
parent category 1->sub category 1->sub-sub category 1
parent category 1->sub category 1->sub-sub category 2
parent category 1->sub category 2
Parent category 2.........
I know that to achieve this I need to use recursive programming. But how can we do it via stored procedures?
I have gridview in my page that bind from database and show product information and when users click on productimage from gridview it will go to Show.aspx page...
I want know that how many users visit each product...
I mean I want see that How many users click on ProductImage from girdview and go to Show.aspx page(separatly for each product)...
How I can do it?
how to display recent viewed product in gridview / listview,first one if any user click on any one product on listed all product then and redirect new page where user can view full details of single product ,its going fine but when user back to home then i want to show recent viewed product , recent view product should not save in db ,just save in temporary datatabee and view in gridview , if user see 10 product then it save in temporary datatable and bind into gridview all 10 product.
View 1 RepliesIs there any web service which will return the prouct name by accepting the product barcode input?
View 2 RepliesI was trying to use the web service for currency rate to get the rate, althought I have already add web reference to[URL] but I still do not know how to retrieve it from there. I'm using asp.net vb.
View 1 RepliesI came across this RDMS via the advert on stackoverflow. Seems to be in the vein of MS Access / Filemaker / Apex database development tools but focused on web based applications. It quotes rave reviews from EWeek and a favourable mention from Dr Dobbs regarding its ability to create AJAX web applications without coding.
The Eweek review, apparently written by an ASP.NET programmer, goes on to proclaim the ease at which apps can be extended using the inbuilt XBasic language and how custom javascript can easily be added without wading through code. Has anyone here built a web app with Alpha 5? Does anyone have comments on the development process, the speed of it or limitations they encountered along the way? To me it seems Oracle APEX comes closest to the feature set, has anyone programmed in both and have any comments?
I'm building an ASP.NET MVC site where I want to limit how often authenticated users can use some functions of the site.
Although I understand how rate-limiting works fundamentally, I can't visualize how to implement it programatically without creating a major code smell.
If it matters, all of these functions are currently expressed as Actions that only accept HTTP POST. I may eventually want to implement rate-limiting for HTTP GET functions as well, so I'm looking for a solution that works for all such circumstances.
I'm trying to get this to work. My current problem is what to do if the user wants to give the same rating that already exists. For example, an item has a rating of five, and the user wants to give it another 5 rating.
View 5 RepliesI have a page that shows statistics for users, this cannot be cached because each user has different statistics and there are many thus the real time query must be made.
What the way to avoid database server overload when user will click F5's to refresh or to ask different queries in short time intervals ?
If I enter the value as 133 and the rate as 100 i need to find out the percentage....
View 1 Repliesrating control in AJAX. I want that a person when he visits my site,he is able to rate the content only once after login. I have developed the rating part but the person can rate multiple times.
View 3 RepliesHow can I check the quality and bit-rate of audio & video files in C# asp.net?
View 1 RepliesI have to desing line chart graph in .rdlc report, can you please help me, i have decimal values on Y-Axis and date time values on X-Axis , i have two series of product, according to product value during specific time i need to display line graph for each product.please do needfull to me.
View 2 RepliesI have a requirement like need to get the numbers from diffrent tables and calculate the growth rate using the formula like ((number2-number1)/number1)*100 and bind it to gridview. Right now I am getting the numbers from each table, calculating growth rate @code behind and save the result into temp table and next getting the result from temp table and bind it to gridview. this is very lengthy process and low performanance.
How to do growth rate on the fly and bind it to gridview. Finally the gridview data should be growth rate desc order.
Approximate cost of the project Duration of the project ( There are 2 Developers ) Can I charge the client for software license ( like Visual Studio license since I have purchased it by paying a hefty amount)
My profile as a developer is as follows:
I am a C#, .net, ASP.net developer with 3 years experience in enterprise class web and desktop projects. I can work 20 hours a week
The brief requirements of the project are as follows::
I have to develop an Ecommerce website. The website is meant for buyers, sellers, advertisers and bidders ( I would say it is Business to Business and also Business to Customer site ) The HTML's will be given by the client. The website will have all the features of any Ecommerce site like buying products, selling them, searching products, sorting them,etc The website should conform to W3C standards
i have a product data entry form in which if somebody wants to add more data for one product then there is link called more and opens a new aspx page. In which i have a 40 textbox and dropdown list associated with them. so i have a data like interger id of dropdown list and textbox value for that dropdown list interger,something kind of key and value pair. I want to store that and pass it to the original pair so i can add that to the database once the whole product is created. I do not want to use session to store this much of data.
View 2 RepliesI'm trying to add a product to one or more categories, but I'm going nowhere slow.
Table layout:
[Code]....
[Code]....
[Code]....
I been trying everything to add a product to a category, but without luck. I would have though this was the "right" way:
[Code]....
On my "Create" product page, the product is created but I just can't find a way to link a product to one or more categories. It just skips back to the Create page, even though I have put a Redirect in the Controller.