Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Expand]Concepts
   [Expand]Visual Elements
   [Collapse]Examples
     How to: Add New Nodes in Code (Bound Mode)
     How to: Bind the ASPxTreeList to Data Created at Runtime
     How to: Calculate Custom Summaries
     How to: Create a Tree in Code (Unbound Mode)
     How to: Create Custom Command Buttons
     How to: Delete Selected Nodes
     How to: Display Summaries
     How to: Display the Customization Window
     How to: Display the File/Folder Tree (Virtual Mode)
     How to: Enable Recursive Selection When Binding at Runtime
     How to: Implement Conditional Formatting
     How to: Init New Nodes
     How to: Initialize Cell Editors
     How to: Obtain Server Data From the Client
     How to: Perform Drag And Drop in Virtual Mode
     How to: Present Data in Cards
     How to: Provide a Context Menu
     How to: Save And Restore the ASPxTreeList's Layout
     How to: Select Nodes That Meet the Specified Criteria
     How to: Sort Nodes Using Custom Rules
     How to: Use the Nodes Iterator
     How to: Validate Edit Form Template Container
     How to: Validate Nodes (Server-Side)
   [Expand]Member Tables
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

How to: Provide a Context Menu

This example demonstrates how to display a context menu. When an end-user right-clicks within the ASPxTreeList, the client-side ASPxClientTreeList.ContextMenu event is fired. In this example, the context menu is invoked when a node is right-clicked.

The image below shows the result:

How would you rate this topic?​​​​​​​