By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

ajax control in a Grid View

P: 1
I added an Ajax Rating Control in a GridView using the code

<asp:TemplateField HeaderText="Rating">
<ItemTemplate>

<ajaxToolkit:Rating ID="Rating2" runat="server" EmptyStarCssClass="emptyRatingStar" FilledStarCssClass="filledRatingStar"
OnChanged="Rating2_Changed" StarCssClass="ratingStar" WaitingStarCssClass="savedRatingStar" Width="128px" CurrentRating="0" AutoPostBack="false" ReadOnly="false">
</ajaxToolkit:Rating>




</ItemTemplate>
</asp:TemplateField>


This will display the star symbols(rating) in a Grid. But when i click the star rating how can we read the row index of a Grid? when i click the rating no Grid events are executed...only execute the Rating2_Changed event. Pls help me.
Nov 27 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.