In myTtreeView do not popup needed ContextMenu with ServerSideCallBack node-expand mode. InServerSide mode all work fine :(
Code below:
In node_Expand Event:
(all nodes in ServerSideCallBack mode)
On client trvContextInstallation-Context menu do not fired.
TreeView Context menus markup bellow:
Code below:
In node_Expand Event:
(all nodes in ServerSideCallBack mode)
| ... |
| Telerik.Web.UI.RadTreeNode node = new Telerik.Web.UI.RadTreeNode(proj.Name); |
| node.ContextMenuID = "trvContextInstallation"; |
| ... |
On client trvContextInstallation-Context menu do not fired.
TreeView Context menus markup bellow:
| <ContextMenus> |
| <telerik:RadTreeViewContextMenu id="trvContextProject" runat="server" Flow="Horizontal"> |
| <Items> |
| <telerik:RadMenuItem text="Открыть изменения проекта" Value="cmdProjOpenChanges" ExpandMode="ClientSide" runat="server"> |
| <GroupSettings ExpandDirection="Auto" Flow="Vertical" /> |
| </telerik:RadMenuItem> |
| </Items> |
| <DefaultGroupSettings ExpandDirection="Auto" Flow="Vertical" /> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| <ExpandAnimation Type="OutQuart" /> |
| </telerik:RadTreeViewContextMenu> |
| <telerik:RadTreeViewContextMenu id="trvContextInstallation" runat="server" Flow="Horizontal"> |
| <Items> |
| <telerik:RadMenuItem text="Открыть изменения инсталляции" Value="cmdInstallationOpenChanges" ExpandMode="ClientSide" runat="server"> |
| <GroupSettings ExpandDirection="Auto" Flow="Vertical" /> |
| </telerik:RadMenuItem> |
| </Items> |
| <DefaultGroupSettings ExpandDirection="Auto" Flow="Vertical" /> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| <ExpandAnimation Type="OutQuart" /> |
| </telerik:RadTreeViewContextMenu> |
| </ContextMenus> |
