Hi
In Q2 2007 we are using the following code to dynamically set the target and open a ContextMenu on client click of a regular html control.
We're refactoring to use Q3 2008 and can see from the documentation that we should be using "set_targets" instead but this raises an error. Can you provide an eaxmple of how to use set_targets?
In Q2 2007 we are using the following code to dynamically set the target and open a ContextMenu on client click of a regular html control.
var menu = window["<%= PropertiesMenu.ClientID %>"]; |
if (menu) |
{ |
menu.SetContextElementID(obj.id); |
} |
We're refactoring to use Q3 2008 and can see from the documentation that we should be using "set_targets" instead but this raises an error. Can you provide an eaxmple of how to use set_targets?