Posted 14 Jul 2010 Link to this post
<
telerik:RadMenu
ID
=
"rm_top"
runat
"server"
Style
"z-index: 2000"
CausesValidation
"False"
Font-Names
"Arial"
Width
"100%"
OnPreRender
"rm_top_PreRender"
EnableRoundedCorners
"true"
BorderStyle
"None"
>
CollapseAnimation
Type
"OutExpo"
Duration
"200"
></
</
binding code:
rm_top.DataFieldID = "AdminMenuID";
rm_top.DataFieldParentID = "AdminMenuParentID";
rm_top.DataTextField = "AdminMenuName";
rm_top.DataValueField = "AdminMenuID";
rm_top.DataNavigateUrlField = "AdminMenuUrl";
rm_top.DataBind();
Posted 15 Jul 2010 Link to this post
rm_top.DefaultGroupSettings.Height = Unit.Pixel(500);
Posted 20 Jul 2010 Link to this post
Posted 21 Jul 2010 Link to this post
Posted 26 Jul 2010 Link to this post
protected
void
RadMenu1_DataBound(
object
sender, EventArgs e)
{
foreach
(RadMenuItem rootItem
in
RadMenu1.Items)
if
( rootItem.Items.Count > 10)
rootItem.GroupSettings.Height = Unit.Pixel(250);
}
Posted 14 Aug 2010 Link to this post
Posted 18 Aug 2010 Link to this post