var newItem = new Telerik.Web.UI.RadMenuItem();
var navUrl = mainItem.get_navigateUrl();
The problem is, when the navigate url is rendered, it is total mangled.
Here is an example link from the 'main' menu bar (which works perfectly):
The 'value' of the href attribute, when assigned into the 'newItem' object is correct - we have console.logged it (via newItem.get_navigateUrl) and it is accurate. However, when the menu item is rendered by the menu code, it comes out as:
Something, I presume within the Telerik js, is totally munging up the href value, creating additional attributes for the 'a' element as it sees fit. I have tried replacing/escaping single ticks and slashes, but cannot seem to get it to come out right.
Any advice would be appreciated. Thank you.