This project is read-only.
  • Register Control
<%@ Register Assembly="StarRating" Namespace="StarRatingControl" TagPrefix="star" %>
  • Create Control
<star:StarRating ID="star" runat="server" StarType="Crystal" JSFunction="Teste">
    <Items>
        <star:StarItem Value="1" Title="Regular" />
        <star:StarItem Value="2" Title="Médio" Checked="true" />
        <star:StarItem Value="3" Title="Bom" />
        <star:StarItem Value="4" Title="Muito Bom" />
        <star:StarItem Value="5" Title="Ótimo" />
    </Items>
</star:StarRating>
  • Create a javascript function to receive select event
<script type="text/javascript">
    function Teste(value) {
        alert(value);
    }
</script> 

Last edited Nov 19, 2009 at 11:00 AM by ajunior84, version 2

Comments

No comments yet.