<contextMenu forElement="IMG">
<tool name="SetImageProperties1" iconurl="~/RadControls/Editor/Skins/Default/Img/imageProperties.gif" />
</contextMenu>
and the following javascript beneath the RadEditor on the page:
RadEditorCommandList["SetImageProperties1"] =
function(commandName, editor, oTool)
{
editor.Fire('SetImageProperties', callBackFn);
function callBackFn(result)
{
if (result)
{
alert(result);
};
}
};
This is currently giving me a js error Object does not support this property or method. Also the icon URL is not displaying in the context menu even though it is valid and how would I put custom text in the context menu text? I was trying to use this approach which is similar to the following thread: http://www.telerik.com/community/forums/thread/b311D-taged.aspx
Thank you for your help.