Ramco Ramco

Ramco Ramco

  • 443
  • 3.4k
  • 527k

Stars not getting printed

Jun 11 2023 4:53 PM

Hi

<div class="stars">
<div style="padding-top: 5px;">
    <asp:PlaceHolder ID="plchStar" runat="server"></asp:PlaceHolder>

</div>
ltrlAvgRating.Text = Result.AvgRating.ToString();
plchStar.Controls.Add(new System.Web.UI.WebControls.Literal { Text = Utility.StarRating(5, Convert.ToDecimal(Result.AvgRating)) });

Thanks


Answers (4)