Try Now
More in this section

Forums / Bugs & Issues / RadMenu EnableEmbeddedScripts Breaks "Edit" button in Admin

RadMenu EnableEmbeddedScripts Breaks "Edit" button in Admin

2 posts, 0 answered
  1. Aaron P
    Aaron P avatar
    5 posts
    18 Feb 2010
    18 Aug 2010
    Link to this post
    I have a custom-styled menu where I have:
    <asp:SiteMapDataSource ID="SiteMapDataSource2" StartFromCurrentNode="true" ShowStartingNode="false" StartingNodeOffset="-2" runat="server" />
                    <telerik:RadMenu ID="RadMenu2" runat="server" EnableEmbeddedSkins="false" DataSourceID="SiteMapDataSource2" Flow="Horizontal" MaxDataBindDepth="2" EnableEmbeddedScripts="false" EnableEmbeddedBaseStylesheet="false" OnItemDataBound="RadMenu2_ItemDataBound" />

    This code breaks the "Edit" link when trying to edit within the Admin section. The JS error is:
    Uncaught TypeError: Cannot call method 'open' of undefined

    If I set EnableEmbdeddedScripts = "true", it fixes the Edit button but breaks my custom Javascript on the menu. Help!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    18 Aug 2010
    Link to this post
    Hello Aaron P,

    You can tale a look at

    Kind regards,
    Ivan Dimitrov
    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
2 posts, 0 answered