America/US Samples
Europe Samples
Asia Samples

Gaia Ajax: CheckBox

The Gaia Ajax CheckBox displays a check box that allows the user to select a true or false condition. It inherits from the ASP.NET CheckBox, and has built-in Ajax behaviour.

Home Phone  
Work Phone

Markup (ASPX/.aspx)

   1:   
   2:      Home Phone
   3:      <gaia:TextBox ID="txtHome" runat="server"></gaia:TextBox>
   4:      <gaia:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
   5:          ControlToValidate="txtHome">*</gaia:RequiredFieldValidator><br />
   6:      Work Phone
   7:      <gaia:TextBox ID="txtWork" runat="server"></gaia:TextBox>
   8:      <gaia:CheckBox ID="cbxSame" runat="server" AutoPostBack="True"
   9:          OnCheckedChanged="cbxSame_CheckedChanged" Text=" Same as Home Phone" />
  10: