I have a very simple use of the RadRating control as follows :
The server side event handler just grabs the rating value and adds it to a database table. When the page loads, i initially load the RadRating control's value to display the average rating for the item being viewed. The problem i have is say the average rating is 4 exactly, and someone tries to give a rating of 4, the Rate even will not fire. If i rate anything else but 4, the rate event will fire and everything works fine, the problem only happens when trying to click the same rating that is being displayed. If someone rates the same value, i would still like to capture that value, but cannot do so because of this.
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional"> |
<Triggers> |
<asp:AsyncPostBackTrigger ControlID="Rating1" EventName="Rate" /> |
</Triggers> |
<ContentTemplate> |
<div> |
<telerik:RadRating ID="Rating1" runat="server" Skin="Windows7" Precision="Item" OnRate="Rating1_Rate" AutoPostBack="true" /> |
</div> |
</ContentTemplate> </asp:UpdatePanel> |
The server side event handler just grabs the rating value and adds it to a database table. When the page loads, i initially load the RadRating control's value to display the average rating for the item being viewed. The problem i have is say the average rating is 4 exactly, and someone tries to give a rating of 4, the Rate even will not fire. If i rate anything else but 4, the rate event will fire and everything works fine, the problem only happens when trying to click the same rating that is being displayed. If someone rates the same value, i would still like to capture that value, but cannot do so because of this.