Rank: Advanced Member Groups: Member
Joined: 3/31/2009 Posts: 52
|
I have created a context menu with 3 menu item and one of it is checked. This context menu will show under a Toolbar Dropdownbutton. I have set the OnClickScript value to a Javascript Client Function "LOC_CODE_Click". Inside the function, I just do the following things.
function LOC_CODE_Click() { var cm = eo_GetObject("ContextMenu1"); for (var i=0; i < cm.getTopGroup().getItemCount();i++) { cm.getTopGroup().getItemByIndex(i).setChecked(false); } eo_GetNavigatorEventInfo().getItem().setChecked(true); eo_Callback('cbp', 'LoadBG'); }
but after I do Callback, I can't get the "Checked" Menu Item at Sever Side. Could you give me advice ?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Menu does not pass any changes made on the client side back to the server side. So you may wish to use some other mechanisms such as hidden field to pass those data back to the server and then re-apply them on the server.
Thanks
|