I tried the given link above still not working.
I have a Repeater in which i am binding some details and rating star using ajax. The problem is that it is not displaying correctly in the Repeater. I have done the same thing using a Gridview and it is working. For my purpose i need a Repeater.
<asp:Repeater ID="RP_teacher" runat="server">
<ItemTemplate>
<div class="col-sm-6 col-md-3 mb-sm-30 sm-text-center">
<div class="team maxwidth400">
<div class="thumb">
<img src='<%#"teacher/"+Eval("tch_image")%>' class="img-fullwidth" onerror="this.src='<%=Page.ResolveClientUrl("teacher/images/default.png") %>'">
</div>
<div class="content border-1px p-15 bg-theme-color-green clearfix">
<h3 class="name text-white mt-0"><%#Eval("tname")%></h3>
<p>
<asp:Panel ID="ratingPanel" runat="server" Enabled="false" ClientIDMode="Static">
<ajaxtoolkit:rating id="Rating1" runat="server"
behaviorid="BehaviorID2"
currentrating='<%# Eval("avgrate") %>'
clientidmode="Static"
starcssclass="ratingStar"
waitingstarcssclass="savedRatingStar"
emptystarcssclass="emptyRatingStar"
filledstarcssclass="filledRatingStar">
</ajaxtoolkit:rating>
</asp:Panel>
</p>
</div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
code for GridView
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="true">
<Columns>
<asp:TemplateField HeaderText="Res Ratings">
<ItemTemplate>
<asp:Panel ID="ratingPanel" runat="server" Enabled="false" ClientIDMode="Static">
<ajaxToolkit:Rating ID="Rating1" runat="server" Enabled="false"
ClientIDMode="Static"
StarCssClass="ratingStar"
WaitingStarCssClass="savedRatingStar"
EmptyStarCssClass="emptyRatingStar"
FilledStarCssClass="filledRatingStar"
CurrentRating='<%# Bind("avgrate") %>'>
</ajaxToolkit:Rating>
<br />
</asp:Panel>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>