Hello.
I created a context menu from the radreeview properties. When I create a new ContextMenu and click in Items to add new items it works fine, but after a while (I don't know when exactly) when I try to access the Items properties of the MenuContext a visual studio message box appears with this message: "Object neference not set to an Isntance of an object".
I didn't touch the aspx markup:
The project runs fine even when I modify the markup manually, it might be a VS interaction issue. Any ideas?
I created a context menu from the radreeview properties. When I create a new ContextMenu and click in Items to add new items it works fine, but after a while (I don't know when exactly) when I try to access the Items properties of the MenuContext a visual studio message box appears with this message: "Object neference not set to an Isntance of an object".
I didn't touch the aspx markup:
<telerik:RadTreeView ID="RadTreeView1" Runat="server" |
LoadingStatusPosition="BeforeNodeText" |
onclientcontextmenushowing="OnContextShowing"> |
<contextmenus> |
<telerik:RadTreeViewContextMenu ID="MenuContextMenu" runat="server" |
Flow="Horizontal"> |
<expandanimation type="OutQuart" /> |
<defaultgroupsettings expanddirection="Auto" flow="Vertical" /> |
<collapseanimation duration="200" type="OutQuint" /> |
<Items> |
<telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Add " |
Value="add"> |
<groupsettings expanddirection="Auto" flow="Vertical" /> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Delete " |
Value="delete"> |
<groupsettings expanddirection="Auto" flow="Vertical" /> |
</telerik:RadMenuItem> |
</Items> |
</telerik:RadTreeViewContextMenu> |
</contextmenus> |
<Nodes> |
<telerik:RadTreeNode runat="server" ExpandMode="ClientSide" |
Text="Context Menu Test" Value="1"> |
</telerik:RadTreeNode> |
</Nodes> |
<CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> |
<ExpandAnimation Type="OutQuart" Duration="100"></ExpandAnimation> |
</telerik:RadTreeView> |
The project runs fine even when I modify the markup manually, it might be a VS interaction issue. Any ideas?