Hi Piyush,
You can try the following code snippet for RadMenu "Prometheus":
window.onload=function() |
{ |
|
var mymenu = $find("<%= RadMenu1.ClientID %>"); |
var childListElement = mymenu.get_childListElement(); |
var totalWidth = 0; |
for (var i = 0; i < childListElement.childNodes.length; i++) |
{ |
var node = childListElement.childNodes[i]; |
if (node.nodeType == 3) continue; |
|
totalWidth += node.offsetWidth; |
node.style.clear = "none"; |
} |
|
childListElement.style.width = totalWidth + "px"; |
} |
We will probably introduce equivalent of the FixListWidth item of the "Classic" RadMenu.
Regards,
Albert
the Telerik team