This is a migrated thread and some comments may be shown as answers.

Radmenu loses last rad menu item

1 Answer 41 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Nick Nowak
Top achievements
Rank 1
Nick Nowak asked on 14 Oct 2010, 04:14 PM
Hello,

Currently we are experiencing an issue where the radmenu will lose the last rad menu item.  It is coming off of a treeviewnode and sometimes when the treeview is refreshed the item comes back.  Then it can be refreshed again and once again disappear.  It also seems to consistently remove the last item at every context menu on every level of the tree view when this issue happens.  Here is the code we use to build the radmenu.  Most of the time the item contains the word "Rename".  Are there any protected words for a radmenu?

**** BUILDING XML STRING *******************************

 

Dim sb As New StringBuilder

 

sb.Append(

"<Menu><Group Flow=""Vertical"">")

 

 

sb.Append("<Item Text=""Map Vehicle"" Value=""MapVehicle"" TextAlign=""Left""></Item><Item Text=""Map History ..."" Value=""MapHistory"" TextAlign=""Left""></Item>")

 

sb.Append(

"<Item Text=""Map Nearby ..."" Value=""MapNearby"" TextAlign=""Left""></Item>")

 

sb.Append(

"<Item Text=""Watch Live"" Value= ""WatchVehicle"" TextAlign=""Left""></Item>")

 

sb.Append(

"<Item Text=""Rename Vehicle"" Value=""RenameVehicle"" TextAlign=""Left""></Item>")

 

sb.Append(

"</Group></Menu>")

 

 


Return
sb.ToString()
**********************************************************************

**** BIND TO RADMENU ***************************************

 

RadMenu4.LoadXml(XML FROM RETURNED FROM ABOVE)

 

**********************************************************************

***** CODE ON TREEVIEW ***********************************

 

 

<ContextMenus>

 

 

 

 

 

<telerik:RadTreeViewContextMenu ID="RadMenu4" runat="server" EnableEmbeddedSkins="false" Skin="Custom">

 

 

 

 

 

<CollapseAnimation duration="200" type="OutQuint" />

 

 

 

 

 

</telerik:RadTreeViewContextMenu>
</ContextMenus>

***********************************************************************

 

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Oct 2010, 01:49 PM
Hi Nick,

I'm afraid that the provided information is not enough for us to reproduce the issue, please send us a live url where we can observe it. Thanks

Greetings,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Menu
Asked by
Nick Nowak
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or