Hello,
I've got a group of buttons into a div, which is defined as a decorated zone.
When one of the buttons is pressed a context menu is displayed, but this menu collapses inmediately. I have tried the same removing the div from the DecorationZoneID property, and then it works (the context menu keeps expanded).
Here is my code:
<script type="text/javascript">
function showMenu(e) {
var contextMenu = $find("<%= RadContextMenu1.ClientID %>");
contextMenu.showAt(e.screenX, e.screenY);
}
</script>
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecorationZoneID="Buttons"
DecoratedControls="All" />
<div id="Buttons" >
<input id="Button1" type="button" onclick="showMenu(event)" value="Sections" />
<telerik:RadContextMenu ID="RadContextMenu1" runat="server" CollapseDelay="50000">
<Items>
...
</Items>
</telerik:RadContextMenu>
</div>
Any help? Thank you.