Free Trial Buy Now

Data Editing - Edit Modes

Mode:  
v

 FromSubjectDateHas AttachmentNew
[Collapse]Developer Express - RayNew Holiday Skin12/10/2007EditNew
  Matthew RobertsRe: New Holiday Skin12/10/2007 
  
v
UpdateCancel
  
 [Collapse]Trevor WesterdahlRe: New Holiday Skin12/10/2007EditNew
   NC SoftwareRe: New Holiday Skin12/10/2007EditNew
 [Collapse]Andy WallRe: New Holiday Skin12/11/2007EditNew
  [Collapse]Max V. Evseev (Developer Express)Re: New Holiday Skin12/12/2007EditNew
    Brendon MuckRe: New Holiday Skin12/12/2007EditNew
    Andy WallRe: New Holiday Skin12/12/2007EditNew
   [Expand]NC SoftwareRe: New Holiday Skin12/12/2007EditNew
    JaschaRe: New Holiday Skin12/15/2007EditNew
 [Collapse]wolfgang hauerRe: New Holiday Skin12/13/2007EditNew
   James MurrayRe: New Holiday Skin12/15/2007EditNew

Description

This demo describes the ASPxTreeList's built-in edit modes.

The following edit modes are available within the ASPxTreeList:

  • Inline - Cell values are edited with the in-line edit node.
  • EditForm - Cell values are edited via the Edit Form, and the node whose values are currently being edited isn't displayed.
  • EditFormAndDisplayNode - Cell values are edited within the Edit Form, and the node whose values are currently being edited is displayed above the Edit Form.
  • PopupEditForm - Cell values are edited within the Popup Edit Form, which may be dragged. By default the Popup Edit Form is displayed near the node whose values are currently being edited. The Popup Edit Form's position can be customized using the SettingsPopupEditForm property.

The SettingsEditing.Mode property specifies the current edit mode within the ASPxTreeList. In this demo, use the 'Edit Mode' combo box to select the edit mode you desire.

To allow end-users to manipulate data, add a Command column to the ASPxTreeList's Columns collection and specify which commands can be used by end-users.

The following server-side methods can be used to manipulate data in code:

  • StartEdit() – switches the ASpxTreeList to edit mode.
  • UpdateEdit() - saves changes and switches the ASPxTreeList to browse mode.
  • CancelEdit() - discards changes and switches the ASPxTreeList to browse mode.
  • StartEditNewNode() – switches the ASPxTreeList to edit mode, and allows you to specify a new node's values. When finished, click the Update button. This creates a new node with the specified values, and appends it to the required position.
  • DeleteNode() - deletes a node.
Version: v2011 vol 2.11
Experience the DevExpress Difference Today
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.