<%@ Page Title="" Language="C#" MasterPageFile="~/Wijmo.master" AutoEventWireup="true" Inherits="C1Tabs_Animation" CodeBehind="Animation.aspx.cs" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4" Namespace="C1.Web.Wijmo.Controls.C1Tabs" TagPrefix="wijmo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <wijmo:C1Tabs ID="C1Tab1" runat="server">
                <Pages>
                    <wijmo:C1TabPage ID="Page1" Text="Nunc tincidunt">
                        <p>
                            Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec
                                arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante.
                                Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper
                                leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales
                                tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel
                                pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum.
                                Nunc tristique tempus lectus.
                        </p>
                    </wijmo:C1TabPage>
                    <wijmo:C1TabPage ID="Page2" Text="Proin dolor">
                        <p>
                            Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra
                                massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget
                                luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean
                                aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent
                                in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat
                                nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque
                                convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod
                                felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.
                        </p>
                    </wijmo:C1TabPage>
                    <wijmo:C1TabPage ID="Page3" Text="Aenean lacinia">
                        <p>
                            Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate,
                                pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem.
                                Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia
                                nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo
                                pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem
                                enim, pretium nec, feugiat nec, luctus a, lacus.
                        </p>
                        <p>
                            Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam
                                ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing
                                velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula
                                faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero
                                sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor
                                ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas
                                commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit
                                hendrerit.
                        </p>
                    </wijmo:C1TabPage>
                </Pages>
            </wijmo:C1Tabs>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Description" runat="Server">
    <p>
        The <strong>C1Tabs</strong> supports animation, which you can play around with in this sample. To select or clear an animation, click the check box. To change the duration of the show option and hide option animations, click their respective Duration drop-down arrows and select a duration from the list.
    </p>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ControlOptions" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
            <div class="settingcontainer">
                <div class="settingcontent">
                    <ul>
                        <li class="fullwidth">
                            <label class="settinglegend">Show Options:</label>
                        </li>
                        <li>
                            <asp:CheckBox ID="showblind" runat="server" Text="Blind" />
                            <asp:CheckBox ID="showfade" runat="server" Text="Fade" />
                        </li>
                        <li>
                            <label>Duration: </label>
                            <asp:DropDownList ID="showduration" runat="server">
                                <asp:ListItem Selected="True">200</asp:ListItem>
                                <asp:ListItem>400</asp:ListItem>
                                <asp:ListItem>800</asp:ListItem>
                                <asp:ListItem>1500</asp:ListItem>
                            </asp:DropDownList>
                        </li>

                        <li class="fullwidth">
                            <label class="settinglegend">Hide Options:</label>
                        </li>
                        <li>
                            <asp:CheckBox ID="hideblind" runat="server" Text="Blind" />
                            <asp:CheckBox ID="hidefade" runat="server" Text="Fade" />
                        </li>
                        <li>
                            <label>Duration: </label>
                            <asp:DropDownList ID="hideduration" runat="server">
                                <asp:ListItem Selected="True">200</asp:ListItem>
                                <asp:ListItem>400</asp:ListItem>
                                <asp:ListItem>800</asp:ListItem>
                                <asp:ListItem>1500</asp:ListItem>
                            </asp:DropDownList>
                        </li>
                    </ul>
                </div>
                <div class="settingcontrol">
                    <asp:Button ID="apply" runat="server" Text="Apply" CssClass="settingapply" OnClick="apply_Click" />
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
