or
/*Main menu top level */
DIV.RadMenu_ASI .rmRootGroup
{
Background: linear-gradient(to
bottom
,
#290448
0%
,
#140224
44%
,
#040008
100%
)
!important
;
background
:
#1e0335
;
/* Old browsers */
background
: -moz-linear-gradient(
top
,
#290448
0%
,
#140224
44%
,
#040008
100%
);
/* FF3.6+ */
background
: -webkit-gradient(linear,
left
top
,
left
bottom
, color-stop(
0%
,
#290448
), color-stop(
44%
,
#140224
), color-stop(
100%
,
#040008
));
/* Chrome,Safari4+ */
background
: -webkit-linear-gradient(
top
,
#290448
0%
,
#140224
44%
,
#040008
100%
);
/* Chrome10+,Safari5.1+ */
background
: -o-linear-gradient(
top
,
#290448
0%
,
#140224
44%
,
#040008
100%
);
/* Opera 11.10+ */
background
: -ms-linear-gradient(
top
,
#290448
0%
,
#140224
44%
,
#040008
100%
);
/* IE10+ */
background
: linear-gradient(to
bottom
,
#290448
0%
,
#140224
44%
,
#040008
100%
);
/* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=
'#290448'
, endColorstr=
'#040008'
,GradientType=
0
);
/* IE6-9 */
}
DIV.RadMenu_ASI .rmRootGroup .rmLink
{
FONT-SIZE:
12px
;
font-family
: Crete Round
!important
;
COLOR:
#FFFFFF
!important
;
LINE-HEIGHT:
50px
!important
;
BACKGROUND-IMAGE:
none
;
}
DIV.RadMenu_ASI .rmRootGroup .rmText
{
BACKGROUND-IMAGE:
none
;
padding-left
:
30px
!important
;
padding-right
:
30px
!important
;
}
DIV.RadMenu_ASI .rmRootGroup .rmLink:hover
{
BACKGROUND-IMAGE:
none
;
background-color
:
#6d9c1f
!important
;
}
/* color of the head menu item as viewing submenu */
DIV.RadMenu_ASI .rmRootGroup .rmExpanded
{
BACKGROUND-IMAGE:
none
;
background-color
:
#6d9c1f
!important
;
}
/* Sub grouping Styles */
DIV.RadMenu_ASI .rmGroup
{
line-height
:
20px
!important
;
padding
:
0px
!important
;
}
DIV.RadMenu_ASI .rmGroup .rmLink
{
FONT-SIZE:
12px
;
font-family
: Crete Round
!important
;
COLOR:
#FFFFFF
!important
;
BACKGROUND-IMAGE:
none
;
background-color
:
#6d9c1f
!important
;
}
DIV.RadMenu_ASI .rmGroup .rmLink:hover
{
BACKGROUND-IMAGE:
none
;
background-color
:
#87AE47
!important
;
width
:
90%
;
text-decoration
:
none
;
}
DIV.RadMenu_ASI .rmSeparator .rmText
{
padding-bottom
:
0px
!important
;
padding-top
:
0px
!important
;
margin-bottom
:
0px
!important
;
margin-top
:
0px
!important
;
}
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test2.aspx.cs" Inherits="Test2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
style
=
"background-color: #c3cce5"
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadComboBox
ID
=
"RadDropDownList"
runat
=
"server"
MaxHeight
=
"300px"
Width
=
"200px"
DropDownAutoWidth
=
"Enabled"
OnTextChanged
=
"RadDropDownList_TextChanged"
EmptyMessage
=
"--Choose--"
CheckBoxes
=
"true"
AutoPostBack
=
"true"
>
<
Items
>
<
telerik:RadComboBoxItem
Value
=
"test1"
Text
=
"Test1"
/>
<
telerik:RadComboBoxItem
Value
=
"test2"
Text
=
"Test2"
/>
<
telerik:RadComboBoxItem
Value
=
"test3"
Text
=
"Test3"
/>
<
telerik:RadComboBoxItem
Value
=
"test4"
Text
=
"Test4"
/>
<
telerik:RadComboBoxItem
Value
=
"test5"
Text
=
"Test5"
/>
</
Items
>
</
telerik:RadComboBox
>
<
asp:Button
ID
=
"UpdateButton"
runat
=
"server"
Text
=
"Update"
OnClick
=
"UpdateButton_Click"
/>
</
form
>
</
body
>
</
html
>
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Web;
using
System.Web.UI;
using
System.Web.UI.WebControls;
using
Telerik.Web.UI;
public
partial
class
Test2 : System.Web.UI.Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(Page.IsPostBack)
{
System.Diagnostics.Debug.WriteLine(
"Page Load PostBack"
);
}
else
{
System.Diagnostics.Debug.WriteLine(
"Page Load No PostBack"
);
//Select a value
if
(RadDropDownList.FindItemByText(
"Test3"
) !=
null
)
{
RadDropDownList.FindItemByText(
"Test3"
).Checked =
true
;
}
}
}
protected
void
RadDropDownList_TextChanged(
object
sender, EventArgs e)
{
System.Diagnostics.Debug.WriteLine(
"RadDropDownList_TextChanged"
);
}
protected
void
UpdateButton_Click(
object
sender, EventArgs e)
{
System.Diagnostics.Debug.WriteLine(
"UpdateRuleButton_Click"
);
}
}
<
telerik:RadListBox
ID
=
"uxOperativeListBox"
runat
=
"server"
Height
=
"330"
Width
=
"380"
OnItemDataBound
=
"uxOperativeListBox_ItemDataBound"
OnClientItemChecked
=
"OperativeListBoxClicked"
>
<
ItemTemplate
>
<
div
>
<
asp:CheckBox
runat
=
"server"
ID
=
"uxCheckbox"
Checked
=
'false'
style
=
"vertical-align:middle;"
/>
<
asp:Image
runat
=
"server"
ID
=
"uxOperativeStatus"
ImageUrl
=
"~/Images/Icons/16/ok.png"
style
=
"vertical-align:middle;"
/>
<
asp:Label
runat
=
"server"
ID
=
"uxOperative"
AssociatedControlID
=
"uxCheckbox"
style
=
"vertical-align:middle;"
></
asp:Label
>
</
div
>
</
ItemTemplate
>
</
telerik:RadListBox
>