America/US Samples
Europe Samples
Asia Samples

Gaia Ajax: RadioButtonList

The Gaia Ajax RadioButtonList represents a list control that encapsulates a group of radio button controls. It inherits from the ASP.NET RadioButtonList, and has built-in Ajax behaviour.










Markup (ASPX/.aspx)

   1:   
   2:      <gaia:RadioButtonList ID="zRadioButtonList1" runat="server" AutoPostBack="true"
   3:          OnSelectedIndexChanged="zRadioButtonList1_OnSelectedIndexChanged">
   4:          <asp:ListItem>Item 1</asp:ListItem>
   5:          <asp:ListItem>Item 2</asp:ListItem>
   6:          <asp:ListItem>Item 3</asp:ListItem>
   7:          <asp:ListItem>Item 4</asp:ListItem>
   8:          <asp:ListItem>Item 5</asp:ListItem>
   9:          <asp:ListItem>Item 6</asp:ListItem>
  10:      </gaia:RadioButtonList>
  11:      <br />
  12:      <gaia:Label ID="zLabel1" runat="server" />
  13:      <br />
  14:      <br />
  15:      <div>
  16:          <gaia:CheckBox ID="zRepeatDirection" runat="server" Text="Display Horizontally"
  17:              AutoPostBack="true" OnCheckedChanged="zRepeatDirection_CheckedChanged" />
  18:      </div>
  19:      <div>
  20:          <gaia:CheckBox ID="zRepeatLayout" runat="server" Text="Display Table Layout"
  21:              Checked="true" AutoPostBack="true" OnCheckedChanged="zRepeatLayout_OnCheckedChanged" />
  22:      </div>
  23: