ajaxcontroltoolkit - Ajax rating control not working on mouse over -
ajax rating control not working on mouse over. have mentioned classes waiting, filled, empty states. not changing css class on mouse over. dont know missing.
this css.
.ratingstar { font-size: 0pt; width: 15px; height: 18px; display: block; background-repeat: no-repeat; cursor: pointer; } .filledratingstar { background-image:url('images/star_full.png'); } .emptyratingstar { background-image:url('images/star_empty.png'); } .savedratingstar { background-color:red; }
and here body,
<div> <asp:scriptmanager id="scriptmanager1" runat="server"></asp:scriptmanager> <ajaxtoolkit:rating id="thairating" runat="server" behaviorid="ratingbehavior1" currentrating="0" maxrating="5" starcssclass="ratingstar" waitingstarcssclass="savedratingstar" filledstarcssclass="filledratingstar" emptystarcssclass="emptyratingstar" style="float: left;" /> </div>
and have registered assembly on top as,
<%@ register assembly="ajaxcontroltoolkit" namespace="ajaxcontroltoolkit" tagprefix="ajaxtoolkit" %>
please me
replace :
<asp:scriptmanager id="scriptmanager1" runat="server"></asp:scriptmanager>
with ajax control:
<asp:toolkitscriptmanager runat="server" id="scriptmanager1" />
and work fine ;)
Comments
Post a Comment