blob: b7942c8e489386c0d67a6f14d6ceb4d63e80e125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<com:TContent ID="Content">
<com:TCallbackOptions ID="RatingOption">
<prop:ClientSide.OnComplete>
$('<%=$this->Title->ClientID%>').innerHTML = 'Thanks';
</prop:ClientSide.OnComplete>
</com:TCallbackOptions>
<com:TActiveLabel ID="Title" Text="Cast your vote:" />
<com:TActiveRatingList ID="List" ActiveControl.CallbackOptions="Parent.RatingOption"
OnCallback="list_oncallback" ActiveControl.EnableUpdate="true">
<com:TListItem Value="1" Text="One star" />
<com:TListItem Value="2" Text="Two stars" />
<com:TListItem Value="3" Text="Three stars" />
<com:TListItem Value="4" Text="Four stars" />
<com:TListItem Value="5" Text="Five stars" />
<com:TListItem Value="6" Text="Six stars" />
</com:TActiveRatingList>
<com:TActiveLabel ID="Result"/>
</com:TContent>
|