Menu control

i want to open another window on menu item click using javascript . how to add javascript to menu control.


1 Reply

RP Rekha P Syncfusion Team November 27, 2008 04:23 AM UTC

Hi,

Thank you for your interest in Syncfusion Products.

Using javascript and on clicking MenuItem, a new window can be opened by specifying Window.open(url) and this can be fired using ClientSideOnItemSelect event of Menu control.

Please refer the below link for online sample and the sample files can be downloaded from 'Download source',
http://websamples.syncfusion.com/samples/Tools.Web/6.4.0.15/F78039-Menu/main.htm

In the above sample, select Syncfusion, Google and Hello.htm menuitems to open its specified url.

Please let me know if this sample helps you.

Thanks,
Rekha


Loader.
Up arrow icon