America/US Samples
Europe Samples
Asia Samples

Gaia Ajax: ExtendedPanel

The Gaia Ajax ExtendedPanel is inherited from Panel and offers a few more treats. It can be more easily skinned, you can set a caption and it also supports Dragging and Expand/Collapse The ExtendedPanel is a container widget which means it can have children controls. If you have an area on your webform which should for some reason be divided into its own logical space then the Gaia Ajax Panel is a good candidate for such

This is the Gaia ExtendedPanel with 5 buttons added dynamically in the Page_Load.


Markup (ASPX/.aspx)

   1:   
   2:      <gaia:ExtendedPanel ID="zExtendedPanel1" runat="server" Height="100px"
   3:          Width="640px">
   4:          This is the Gaia ExtendedPanel with 5 buttons added dynamically
   5:          in the Page_Load.<br />
   6:          <br />
   7:      </gaia:ExtendedPanel>
   8:      <div>
   9:          <gaia:Button ID="zToggle" runat="server" Text="Toggle ExtendedPanel"
  10:              OnClick="zToggle_Click" />
  11:          
  12:          <gaia:CheckBox 
  13:              ID="zCanBeToggled" 
  14:              runat="server" 
  15:              Checked="True"
  16:              AutoPostBack="true" 
  17:              Text="Show Toggle Icon" 
  18:              OnCheckedChanged="zCanBeToggled_OnCheckedChanged" />
  19:      </div>
  20: