on 07-25-2016 10:36 AM
Hello Senthil,
Be aware that not every control works in HTML5.
Bye,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the advice Horst,
So far I tried in silverlight only, I tried to bind the RatingControl to codelist, NumberValue, Quantity and even unbinded, No luck at all.
Are the data types really matters in RatingControl? Am I heading in the right direction ?
I can get only the label Atleast if I get the "stars" are read-only or disabled, I would be happy.
Any help is appreciable.
Regards,
Senthil
Hello Senthil,
I defined an own Code date type for the rating values:
I defined the RatingControl as follows:
It is important that the "RatingItemCountField" is bound as the value of this field determines the stars.
When you set the "ReadOnly" to true no click on the control will reset the value. Therefore I used the DDLB to set the value.
It seems that the RangeFields have no influence.
Now it looks like this:
or
HTH,
Horst
Amazing Horst !
I'm really happy to see the stars at last.
And I wonder, whether the reverse flow is possible . As in your example, If I change the Rating to 3 stars will it change the Rating code to 03 - Normal. I tried with that, but whenever I change the star manually, the star looses its stability.
Is it the standard behavior of star type in ByD?
Regards,
Senthil
Hello Senthil,
I belive I've got how the RatingControl works.
The names of the elements on the UI matches the names in the tag.
Have a look at these snapshots:
The CountField defines how many stars are displayed.
The Range fields define the valid range for the RatingValue field.
Based on that value the count (even partial) of stars to be displayed in yellow is calculated.
Easy, if you know how.
HTH,
Horst
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.