function
showMenu(e) {
var contextMenu = $find("<%= titleBarContextMenu.ClientID %>");
debugger;
if ((!e.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), e.relatedTarget))) {
contextMenu.show(e);
}
$telerik.cancelRawEvent(e);
}
<
table border="0" cellpadding="0" cellspacing="0" width="100%" style="height:24px; background-color:Transparent; white-space:nowrap; overflow:hidden; " >
<tr>
<td align="left" width="100%">
<asp:Label ID="paneTitleLabel" Font-Names="Arial" Font-Size="8pt" ForeColor="White" runat="server"></asp:Label>
</td>
<td>
<img src="/Images/Options_Idol.png" onmouseover="this.src='/Images/Options_hover.png'" onclick="showMenu(event)" onmouseout="this.src='/Images/Options_Idol.png'" alt="Web Part Menu" width="25px" />
</td>
<td align="right" valign="top">
<telerik:RadToolBar ID="radToolBarTitle" Runat="server" EnableEmbeddedSkins="false"
Font-Names="Arial" Font-Size="8pt" ForeColor="White" BorderWidth="0px" AutoPostBack="true">
<ExpandAnimation Duration="600" Type="InOutCubic"></ExpandAnimation>
<CollapseAnimation Duration="900" Type="InElastic"></CollapseAnimation>
</telerik:RadToolBar>
<telerik:RadContextMenu ID="titleBarContextMenu" runat="server" Skin="Vista" OnItemClick="titleBarContextMenu_ItemClick">
<Targets>
<telerik:ContextMenuControlTarget ControlID="radToolBarTitle" />
</Targets>
<Items>
</Items>
</telerik:RadContextMenu>
</td>
</tr>
</
table>
Telerik sample code:
http://www.telerik.com/help/aspnet-ajax/menu_contextmenus.html