Problem firing Rate event

2 posts, 0 answers
  1. Joshua Pena
    Joshua Pena avatar
    3 posts
    Member since:
    Oct 2009

    Posted 17 Mar 2010 Link to this post

    I have a very simple use of the RadRating control as follows :

                <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.


  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 23 Mar 2010 Link to this post

    Hello Joshua Pena,
    The current implementation of the rate server and rated client-side event of the rating control is the same as a value change event. From your explanation, I understand that you expect this event to be rather like a click event. I will log your suggestion and we will change the behavior for the first service pack.

    I have updated your Telerik points for the suggestion.

    Sincerely yours,
    Tsvetie
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top