Aaron Li's Blog

Write it down before I forget

  Home  |   Contact  |   Syndication    |   Login
  30 Posts | 0 Stories | 21 Comments | 1 Trackbacks

News

Google

Archives

Other's Idea

June 2007 Entries

Scenario: I have a repeater with people’s name listed. Next to every name, there is a checkbox used to select people. Every time, only 2 people can be selected. HTML portion, <asp:Repeater ID="Repeater1" runat="server" EnableViewState = "false"> <ItemTemplate> <asp:CheckBox ID="CheckBox1" runat="server" onclick="CheckedChanged(thi... /> <%#Eval("Name")%> </ItemTemplate> </asp:Repeater> <input id="TotalChecked" type="hidden" value="0"/> Javascript...