<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.FormDecorator.Overview.DefaultCS" %>
<!DOCTYPE html>
<
head
runat
=
"server"
>
<
title
>Telerik ASP.NET Example</
title
>
<
link
href
=
"styles.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
/>
<
telerik:RadSkinManager
ID
=
"RadSkinManager1"
runat
=
"server"
ShowChooser
=
"true"
/>
<
telerik:RadFormDecorator
RenderMode
=
"Lightweight"
ID
=
"FormDecorator1"
runat
=
"server"
DecoratedControls
=
"all"
DecorationZoneID
=
"decorationZone"
></
telerik:RadFormDecorator
>
<
div
class
=
"demo-containers"
>
<
div
class
=
"demo-container"
id
=
"decorationZone"
>
<
h4
>Skinned Form Controls (<H4>)</
h4
>
<
fieldset
>
<
legend
>Decoration zone</
legend
>
<
div
class
=
"formRow"
style
=
"padding-right: 10px; padding-left: 10px;"
>
<
h5
>Select Your Favorite Styles (<H5>):</
h5
>
<
asp:CheckBoxList
ID
=
"CheckBoxList1"
runat
=
"server"
TabIndex
=
"1"
>
<
asp:ListItem
Text
=
"Classic"
Selected
=
"True"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Rock"
Selected
=
"True"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Jazz and Fusion"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Rhythm and Blues"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Hard'n'Heavy"
></
asp:ListItem
>
</
asp:CheckBoxList
>
</
div
>
<
div
class
=
"formRow"
style
=
"padding-right: 16px;"
>
<
h5
>Select Age (<H5>):</
h5
>
<
asp:RadioButtonList
ID
=
"RadioButtonList2"
runat
=
"server"
TabIndex
=
"2"
>
<
asp:ListItem
Text
=
"below 18"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"18-22"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"23-29"
Selected
=
"True"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"30-39"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"40-49"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"50-59"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"60 and above"
></
asp:ListItem
>
</
asp:RadioButtonList
>
</
div
>
<
div
class
=
"formRow"
style
=
"border: 0;"
>
<
h5
>Select Genre (<H5>)
</
h5
>
<
div
class
=
"selectSeparator"
></
div
>
<
label
for="<%= DropDownList1.ClientID %>">DropDownList (<label>): </
label
>
<
br
/>
<
asp:DropDownList
ID
=
"DropDownList1"
runat
=
"server"
AutoPostBack
=
"false"
Width
=
"135px"
TabIndex
=
"3"
>
<
asp:ListItem
Text
=
"Comedy"
Value
=
"1"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Drama"
Value
=
"2"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Romance"
Value
=
"3"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Religious"
Value
=
"4"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Fantasy"
Value
=
"5"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Mystery"
Value
=
"6"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Science fiction"
Value
=
"7"
></
asp:ListItem
>
</
asp:DropDownList
>
<
div
class
=
"selectSeparator"
></
div
>
<
label
for="<%= ListBox1.ClientID %>">ListBox (<label>): </
label
>
<
br
/>
<
asp:ListBox
ID
=
"ListBox1"
runat
=
"server"
AutoPostBack
=
"false"
Height
=
"70px"
Width
=
"135px"
TabIndex
=
"4"
>
<
asp:ListItem
Text
=
"Comedy"
Value
=
"1"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Drama"
Value
=
"2"
Selected
=
"True"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Romance"
Value
=
"3"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Religious"
Value
=
"4"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Fantasy"
Value
=
"5"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Mystery"
Value
=
"6"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Science fiction"
Value
=
"7"
></
asp:ListItem
>
</
asp:ListBox
>
<
div
class
=
"selectSeparator"
></
div
>
<
label
for="<%= ListBox2.ClientID %>">ListBox (<label>): </
label
>
<
br
/>
<
asp:ListBox
ID
=
"ListBox2"
runat
=
"server"
AutoPostBack
=
"false"
SelectionMode
=
"Multiple"
Height
=
"70px"
Width
=
"135px"
TabIndex
=
"5"
>
<
asp:ListItem
Text
=
"Comedy"
Value
=
"1"
Selected
=
"True"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Drama"
Value
=
"2"
Selected
=
"True"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Romance"
Value
=
"3"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Religious"
Value
=
"4"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Fantasy"
Value
=
"5"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Mystery"
Value
=
"6"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Science fiction"
Value
=
"7"
></
asp:ListItem
>
</
asp:ListBox
>
</
div
>
<
div
style
=
"padding-left: 16px; clear: both;"
>
<
asp:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Submit Form"
TabIndex
=
"6"
></
asp:Button
>
</
div
>
</
fieldset
>
<
div
>
<
fieldset
>
<
legend
>Text Boxes</
legend
>
<
label
for="<%= UsernameBox.ClientID %>">Username (<label>): </
label
>
<
asp:TextBox
runat
=
"server"
ID
=
"UsernameBox"
Width
=
"150px"
TabIndex
=
"7"
></
asp:TextBox
>
<
div
>
</
div
>
<
label
for="<%= PasswordBox.ClientID %>">Password (<label>): </
label
>
<
asp:TextBox
runat
=
"server"
TextMode
=
"Password"
ID
=
"PasswordBox"
Width
=
"150px"
TabIndex
=
"8"
></
asp:TextBox
>
<
div
>
</
div
>
</
fieldset
>
<
fieldset
>
<
legend
>Textarea</
legend
>
<
label
for="<%= TextArea1.ClientID %>">Textarea (<label>): </
label
>
<
asp:TextBox
ID
=
"TextArea1"
Style
=
"margin-left: 6px; margin-bottom: 2px; height: 70px; width: 240px;"
runat
=
"server"
TextMode
=
"MultiLine"
Text
=
"Enter Text..."
Rows
=
"4"
TabIndex
=
"9"
Columns
=
"20"
></
asp:TextBox
>
</
fieldset
>
</
div
>
</
div
>
</
div
>
</
form
>
</
body
>
</
html
>