America/US Samples
Europe Samples
Asia Samples

Gaia Ajax: Calendar

The Calendar allows the user to select a certain date and time The Gaia Ajax Calendar is similar to the DateTimePicker except it is directly embedded in the page (no drop down). It is extremely easy and flexible to use. For example, localization is done on the server, meaning you have every localization option you have in the .Net Framework. It is also very lightweight and has very little custom JavaScript written to make it work. It integrates perfectly with ASP.NET and is of course a 100% Ajax Citizen.


Markup (ASPX/.aspx)

   1:   
   2:   
   3:  <gaia:Calendar 
   4:      ID="zCalendar" 
   5:      runat="server" 
   6:      FirstDayOfWeek="Monday"
   7:      OnActiveDateViewChanged="zCalendar_ActiveDateViewChanged"
   8:      OnCalendarDayClicked="zCalendar_CalendarDayClicked"
   9:      OnTodayButtonClicked="zCalendar_TodayButtonClicked" />
  10:   
  11:  <br />
  12:      
  13:  <gaia:Label 
  14:     ForeColor="DarkGreen" 
  15:     Font-Size="Larger"
  16:     ID="zInfo" 
  17:     runat="server"></gaia:Label>
  18:   
  19:  <br /><br />
  20:   
  21:  <gaia:Button 
  22:      ID="zClearDate"
  23:      runat="server"
  24:      Enabled="false"
  25:      OnClick="zClearDate_Click"
  26:      Text="Click here to clear the Selected Date"
  27:      />   
  28:   
  29: