Radmenu loses last rad menu item

2 posts, 0 answers
  1. Nick Nowak
    Nick Nowak avatar
    3 posts
    Member since:
    Nov 2008

    Posted 14 Oct 2010 Link to this post

    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>

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

     

  2. Yana
    Admin
    Yana avatar
    5013 posts

    Posted 18 Oct 2010 Link to this post

    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
Back to Top