Client-Side API

To get a client-side SPMenu object use ClientID of the menu control concatenated with "_menu" string. Following code represents obtaining reference to it:

var menu = new SPMenu('<%= serverMenu.ClientID %>_menu');

Last edited May 30, 2012 at 9:53 AM by VitalyZhukov, version 2

Comments

No comments yet.