This is a migrated thread and some comments may be shown as answers.

Rad Rating Contol Not working Correctly

2 Answers 30 Views
Rating
This is a migrated thread and some comments may be shown as answers.
Aruni
Top achievements
Rank 1
Aruni asked on 17 Jul 2012, 12:48 PM
Hi,
Im using Telerik version Q2 2010.
In my application I want to add RadRating control within repeater. following is my code

<

 

 

asp:repeater ID="rptAssetList" runat="server">

 

<HeaderTemplate>

 

<ul>

 

</HeaderTemplate>

 

<ItemTemplate>

 

<li class='<%# Eval("AssetClass") %> clear-both'>

 

<p class="asset-name" title='<%# Eval("AssetToolTip") %>'>

 

<a href="javascript: {};" onclick='javascript:GetResource(<%# Eval("AssetDownloadID") %>)'><%# Eval("AssetName") %></a>

 

<img id="imgPrivate" src="../../../Common/Images/lock-icon.gif" width="10" height="10" runat="server" visible='<%# Eval("ImageVisibility") %>' meta:resourcekey="imgPrivate" />

 

</p>

 

</li>

 

<rad:radrating id="rdrRating" autopostback="true" runat="server" orientation ="Horizontal" itemcount="5" selectionmode ="Continuous" value =5></rad:radrating>

 

</ItemTemplate>

 

<FooterTemplate>

 

</ul>

 

</FooterTemplate>

</

 

 

asp:repeater>

It displays ating as in attached image. (like numbers vertically  (1. 2. 3...)

If anyone have idea about this issue please let me know asap.

Thanks in Advance

AKJ

2 Answers, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 19 Jul 2012, 04:42 PM
Hi Aruni,

 After extended testing I wasn't able to reproduce the issue you have stumbled upon. I was able to correctly bind the repeater and display the rating control. There were no visual glitches, JS errors or inconsistencies.
My advice is to open a support ticket and attach a sample runnable project with the setup you seem to be having issues with.

Hope this helps.

Kind regards,
Niko
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Aruni
Top achievements
Rank 1
answered on 20 Jul 2012, 03:26 AM
Thanks Niko...
I got it resolved. Problem was I forgot to register scripts and css files in the master page.

Regards,
Aruni
Tags
Rating
Asked by
Aruni
Top achievements
Rank 1
Answers by
Niko
Telerik team
Aruni
Top achievements
Rank 1
Share this question
or