
Looks like when making successive calls to client side methods show()/hide() of treeview context menus to set visibility of a couple items both of them become “invisible”. What I found out is that the protected member "_styleCssText" has the content below:
"PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; PADDING-TOP: 0px; HEIGHT: 0px"
My solution was to reset it to an empty string right before calling show()/hide() for each menu item. Can you please confirm if this is the expected solution?
Thanks!
<
telerik:RadMenu ID="rmMaster" runat="server" Skin="Default" Flow="vertical" BorderStyle="solid" BorderWidth="1px" BorderColor="black" BackColor="#704165" >
<Items>
<telerik:RadMenuItem Text="User Maintenance" ExpandMode="ClientSide" runat="server">
<GroupSettings ExpandDirection="Auto" Flow="Vertical" />
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Site Template Edit" ExpandMode="ClientSide" runat="server">
<Items>
<telerik:RadMenuItem Value="site" ExpandMode="ClientSide" runat="server">
<ItemTemplate>
<asp:DropDownList ID="ddWebsite" runat="server"></asp:DropDownList>
<asp:Button ID="btnWebsiteEdit" runat="server" Text="Edit" />
</ItemTemplate>
<GroupSettings ExpandDirection="Auto" Flow="Vertical" />
</telerik:RadMenuItem>
</Items>
<GroupSettings ExpandDirection="Auto" Flow="Vertical" />
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Association Edit" ExpandMode="ClientSide" runat="server">
<Items>
<telerik:RadMenuItem Value="association" ExpandMode="ClientSide" runat="server">
<ItemTemplate>
<asp:DropDownList ID="ddAssociation" runat="server"></asp:DropDownList>
<asp:Button ID="btnAssocEdit" runat="server" Text="Edit" />
</ItemTemplate>
<GroupSettings ExpandDirection="Auto" Flow="Vertical" />
</telerik:RadMenuItem>
</Items>
<GroupSettings ExpandDirection="Auto" Flow="Vertical" />
</telerik:RadMenuItem>
</Items>
<DefaultGroupSettings ExpandDirection="Auto" Flow="Vertical" />
<CollapseAnimation Duration="200" Type="OutQuint" />
<ExpandAnimation Type="OutQuart" />
</telerik:RadMenu>