<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormDecorator.aspx.cs" Inherits="Demo._5_Lightweight.FormDecorator" MasterPageFile="~/Site.Master" %>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">

    <telerik:RadFormDecorator runat="server" ID="formDecorator" Enabled="true" 
        RenderMode="Lightweight"
        DecoratedControls="All" />

    <fieldset>
        <legend>My Form</legend>

        <table>
            <tr>
                <td valign="top">
                    <asp:Label runat="server" ID="lblRadio" Text="Choose your favorite game:"></asp:Label>
                    <br />
                    <asp:RadioButtonList runat="server" ID="games">
                        <asp:ListItem Text="Checkers"></asp:ListItem>
                        <asp:ListItem Text="Chess"></asp:ListItem>
                        <asp:ListItem Text="Backgammon"></asp:ListItem>
                        <asp:ListItem Text="Go"></asp:ListItem>
                        <asp:ListItem Text="Parcheesi"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td valign="top">
                    <asp:Label runat="server" ID="lblCheck" Text="Which game types do you enjoy?"></asp:Label>
                    <asp:CheckBoxList runat="server" ID="types">
                        <asp:ListItem Text="Board"></asp:ListItem>
                        <asp:ListItem Text="Card"></asp:ListItem>
                        <asp:ListItem Text="Party"></asp:ListItem>
                        <asp:ListItem Text="Strategy"></asp:ListItem>
                        <asp:ListItem Text="Electric"></asp:ListItem>
                        <asp:ListItem Text="Video"></asp:ListItem>
                    </asp:CheckBoxList>
                </td>
                <td valign="top">
                    Choose an item: <asp:DropDownList runat="server" ID="ddl">
                        <asp:ListItem Text="Option 1"></asp:ListItem>
                        <asp:ListItem Text="Option 2"></asp:ListItem>
                        <asp:ListItem Text="Option 3"></asp:ListItem>
                                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Button runat="server" ID="btnSubmit" Text="Submit Form" />
                </td>
            </tr>
        </table>

    </fieldset>

</asp:Content>
