Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Rating > Set itemcount not working

Not answered Set itemcount not working

Feed from this thread
  • Posted on Jul 25, 2011 (permalink)

    This is my first time trying out a radrating control.
    I add it to my form and set the itemcount to 5 as so:
     <telerik:RadRating ID="RadRating1" runat="server" ItemCount="5"></telerik:RadRating>

    No matter what I seem to try, I only ever see one star. What am I missing here?

    Reply

  • Slav Slav admin's avatar

    Posted on Jul 27, 2011 (permalink)

    Hello Greg,

    I tried to reproduce the issue you have encountered, but to no avail. You can find my test project attached. Please compare it with your actual project and check if there are differences in the implementation.

    You can also verify if any of the listed scenarios, that can lead to such problem, are present:
    1. The ItemCount property of RadRating is specified in the code-behind as well. The new value will override the one set in the design-time.
    2. There are custom CSS styles, modifying the appearance of the RadRating, for example setting less width than needed.
    3. The RadRating is bound to a data source, which specifies different number of items than the ItemCount property.

    Please note that at the current state of affairs I am mostly guessing as to what your setup is and if you are still experiencing difficulties please prepare and send us a sample, runnable project that displays your issue so that we can examine it locally and provide a more to the point answer.

    Kind regards,
    Slav
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Rating > Set itemcount not working
Related resources for "Set itemcount not working"

ASP.NET Rating Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]