America/US Samples
Europe Samples
Asia Samples

Gaia Ajax: Nested Windows

This example demonstrates the powerful capabilities of the Window control and the Gaia code model. Notice that with just a few lines of code in pure .NET managed code you are able to deliver a nested set of dynamically configured Windows to the client.

How many Windows would you like to recursively open?




Markup (ASPX/.aspx)

   1:   
   2:   
   3:      How many Windows would you like to recursively open?
   4:      <gaia:DropDownList ID="zNumberOfWindows" runat="server">
   5:          <Items>
   6:              <asp:ListItem>3</asp:ListItem>
   7:              <asp:ListItem>5</asp:ListItem>
   8:              <asp:ListItem>10</asp:ListItem>
   9:          </Items>
  10:      </gaia:DropDownList>
  11:      
  12:      <br /><br />
  13:      
  14:      <gaia:CheckBox 
  15:          ID="zModal" 
  16:          runat="server" 
  17:          Text="Would you like the Windows to be Modal ? " 
  18:          TextAlign="left" />
  19:      
  20:      <br /><br />
  21:      
  22:      <gaia:Button 
  23:          id="zOpenFirstWindow" 
  24:          runat="server" 
  25:          Text="Click here to start opening the Windows" />
  26:   
  27: