We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Rating control not appearing

Hi

I am using the sfRating control in a WinRT app, originally I was including the syncfusion controls via nuget, which meant I was getting all sorts of controls that I did not need.

So I removed that, and only add the DLLs required (I believe) - namely Syncfusion.SfInput.WinRT & Syncfusion.SfShared.WinRT - the solution all compiles, and the app runs but the SfRating no longer appears, even though it did when I was referencing the package via nuget.

I have added Xaml to ensure that the property being bound to still has a value, and that is all good - so what am I missing?

Also there are no errors being reported in the output window.

I am using the following style:

<Style TargetType="syncfusion:SfRatingItem">
<Setter Property="Padding" Value="1"/>
<Setter Property="RatedFill" Value="Yellow"/>
<Setter Property="RatedStroke" Value="DarkGoldenrod"/>
</Style>

With this markup:
<se:SfRating x:Name="Rating" ItemsCount="5" Precision="Half" IsReadOnly="true"  Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left"  Value="{Binding MyScore.RankNumber}" VerticalAlignment="Center"   Margin="12,0,0,0"/>

This has not changed at all since it was working.

Help appreciated!

Thanks,
Rupert

3 Replies

VV Vignesh V Syncfusion Team May 14, 2014 10:00 AM UTC

Hi Rupert,

We are unable to reproduce the issue ‘SfRating does not display when assemblies added’. We have prepared a sample in which we tried to reproduce the reported problem. In the sample we have added Syncfusion.SfInput.WinRT & Syncfusion.SfShared.WinRT assemblies and control displayed without any issues.

Please find the sample in below link.

Rating_116308.zip

Please let  us know if you have any queries.

Regards,

Vignesh V



RU Rupert May 14, 2014 05:21 PM UTC

Thanks for the reply, I had included the references from 
C:\Program Files (x86)\Syncfusion\Essential Studio\11.4.0.26\WinRT\8.1\SDK\Redist\CommonConfigurationeutral 

initially, so I changed the references to use the Dlls in here
C:\Program Files (x86)\Syncfusion\Essential Studio\11.4.0.26\Assemblies for WinRT\8.1
instead and that fixed the issue.

Cheers,
Rupert


VV Vignesh V Syncfusion Team May 15, 2014 03:42 AM UTC

Hi Rupert,

Thanks for your update.      

We are glad to know that you have found the solution.Please let us know if you need further assistance.

Regards,
Vignesh V

Loader.
Live Chat Icon For mobile
Up arrow icon