TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
r p
NA
343
0
Rating Tool in GridView
Dec 6 2008 7:37 PM
I have 5 questions to rate a product.
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-
<ajaxToolkit:Rating runat="server" ID="Rating1"
MaxRating="5"
CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingproducts"
WaitingStarCssClass="Savedclass"
FilledStarCssClass="Filledclass"
EmptyStarCssClass="Emptyclass"
>
</ajaxToolkit:Rating>
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!
Reply
Answers (
0
)
Date time Formate in Datagrid ItemTemplate
Popup Loading bar during pageload