Visual Basic .NET » Web Forms
surveys - star rating -- M --


I have been searching for a way to use a star rating system instead on radio button list in an asp.net form.
I wasn't able to find anything on the web - maybe you'd be able to point me in the right direction?
Ideally there would be a way to replace buttons in a radio button group with images of stars in on or off states.

-- ChrisCottrell --

Use your imagination... How do you think you would do something like this... Think images and visible, invisible properties.

On 7/14/06, M. <lewcio> wrote:


I have been searching for a way to use a star rating system instead on
radio button list in an asp.net form.
I wasn't able to find anything on the web - maybe you'd be able to
point me in the right direction?
Ideally there would be a way to replace buttons in a radio button group
with images of stars in on or off states.
>


 

-- M --


Hmm, I give up.
Would "visible/invisible properties" meathod involve javascript?
I found an interesting method using CSS, but I am at a loss on how to couple it with ASP.NET's controls:
http://komodomedia.com/blog/samples/ratings.htm 
#

You can probably tell my asp.net skills are rudimentary at best.

-- ChrisCottrell --

You could do it two ways... The stars control could do a postback so you would not need javascript, which would probably be the easiest or you could use JavaScript, which would not involve a postback, but you would be setting the visible and invisible properties for the images, span, etc. I think through Javascript you could also change the src for the images. I've done that type of thing for rollover buttons.

On 7/17/06, M. <lewcio> wrote:


Hmm, I give up.
Would "visible/invisible properties" meathod involve javascript?
I found an interesting method using CSS, but I am at a loss on how to
couple it with ASP.NET's controls:
http://komodomedia.com/blog/samples/ratings.htm 
#

You can probably tell my asp.net skills are rudimentary at best.
>


 

[Submit Comment]Home