Calendar demo

Source of: Languages.aspx
<%@ Import Namespace="System.Globalization" %>

<script runat="server">

    protected override void OnLoad(EventArgs e) {
        base.OnLoad(e);
        Culture = LanguageRadio.SelectedValue;
    }  

</script>

    <table width="100%">
        <tr>
            <td>
                <goc:DailyCalendar ID="Calendar" runat="server" BorderColor="Black" Font-Names="Verdana"
                    Font-Size="Small" Height="348px" Width="444px" DateLabelFormat="{0:D}" 
                    AmPmMode="ServerSystem">
                    <DateBarStyle Font-Bold="False" Font-Italic="False" HorizontalAlign="Center" ResourceImage="Gray" />
                    <AllDayBarStyle BackColor="DarkGray" />
                    <DefaultAllDayAppointmentStyle BackColor="White" />
                    <ResourceBarStyle Font-Bold="False" Font-Italic="False" Font-Size="X-Small" HorizontalAlign="Center"
                        ResourceImage="Blue" />
                    <HoursBarStyle BackColor="WhiteSmoke" Font-Names="Arial" Font-Size="Small" />
                    <PreviousDayButton>
                        <Style Font-Underline="True" />
                    </PreviousDayButton>
                    <NextDayButton>
                        <Style Font-Underline="True" />
                    </NextDayButton>
                    <DefaultAppointmentStyle BackColor="White" Font-Size="X-Small" />
                </goc:DailyCalendar>
            </td>
            <td valign="top">
                Select one of the culture info (language) to be used by a calendar:<br />
                <br />
                Sample languages:<asp:RadioButtonList ID="LanguageRadio" runat="server" AutoPostBack="True">
                    <asp:ListItem Value="en-US">English</asp:ListItem>
                    <asp:ListItem Selected="True" Value="de-DE">German</asp:ListItem>
                    <asp:ListItem Value="fr-FR">French</asp:ListItem>
                    <asp:ListItem Value="it-IT">Italian</asp:ListItem>
                    <asp:ListItem Value="es-ES">Spanish</asp:ListItem>
                </asp:RadioButtonList></td>
        </tr>
    </table>

(C) ComponentGo! 2010 | Home | Site map | Partners | Links | Forum | info@componentgo.com