Request or some advice for something like rating control

0
0

Hi!
Request or some advice for something useful like rating control.

Maybe some properties like:
ratingCtl. EmptyImageSource = ‘\someEmptyImageOrEmptyRatingStar’; // maybe a default one if not set
ratingCtl. FilledImageSource = ‘\someFilledImageOrFilledRatingStar’; // maybe a default one if not set
ratingCtl. MaxCount = 5; // 5 max count image
ratingCtl. Value = 3; // 3 selected / filled / get / set. //maybe of type double if supports partial fill

Some events like
onSelectCountChange, …

onSelectCountChange
{
//maybe e.handled if for example need only integer numbers (without decimal part) (when user clicks) or exact when programatically sets its average value (with decimal part)
}

It would great if could be a official wisej control/extension

Thanks in advance!

  • You must to post comments
0
0

Hi Sergio,

sorry for the late reply. While there is currently no explicit rating control on our Wisej roadmap,
you could quite easily integrate one of many available javascript rating controls.

We have put together a sample that integrates this jQuery Bar Rating: http://antenna.io/demo/jquery-bar-rating/examples/

In our sample we used a Wisej widget and defined the following packages through the designer:

packages

Then we only need to add the following InitScript:

init

The rating control then looks like this:

rating

Please also note the handler for the Select event that fires an event on the server that displays an alert box of the selected value:

eventhandler

Demo source code is attached.

Hope that helps.

Best regards
Frank

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.