We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

target of menu in new browser window

I am using the MENU control. I would like one of the menuItems to open the "navigatetoURL" in a new web browser. I do not see any property which would support this. Can someone help?

thank you.


1 Reply

AD Administrator Syncfusion Team March 31, 2008 09:14 AM UTC

Hi Evan,

If your intention is to display the URL in the new browser window then please use the client side select event of Menuitem. Please refer the below code snippet to do so:

[Javascript]
function ItemSelect(oMenu)
{
if( document.getElementById("output").value !="New")
{
window.open('http://www.syncfusion.com');
}
return false;
}

Please let me know if this helps you.

Best Regards,
Bhuvana



Loader.
Live Chat Icon For mobile
Up arrow icon