These questions are in the database and I disply these questions to the
customer in a GRIDVIEw. In order to make the rating easy, I give a tool like this-
CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingproducts"
WaitingStarCssClass="Savedclass"
FilledStarCssClass="Filledclass"
EmptyStarCssClass="Emptyclass"
>
This tools is part of GridView in a TEMPLATE Field. A set of 5 stars will be available against each question.
The user can rate each question by selecting the stars.
Now, when the user clicks on the SUBMIT button, I want to receive the 'CURRENT RATING'.
At present I am giving-
Rating1.CurrentRating
But, this doesn't give me any value because the rating tool is inside GRIDVIEW1.
So, what changes should I make
in
Rating1.CurrentRating to receive the current rating value.
Any clue!
r pPosted Dec 26, 2008, 8:02 PM
I got a link which is really helpful.
http://www.codeproject.com/KB/aspnet/MultiFeatureGridView.aspx
Thanks
Blocked AccountPosted Dec 12, 2008, 6:21 AM
Hi,
Because this rating control is inside the gridview so u have to find out the rating control first.
after that u can use the currentRating property of the rating control.