Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Validation

 
From
Subject
Date Created
Has Attachment
#
CollapseDeveloper Express - Ray 12/10/2007 
 
The value cannot be empty.
xv
UpdateCancel
 Please, correct all errors.
  Andrew FullerRe: New Holiday Skin12/10/2007Edit
 Collapse Re: New Holiday Skin12/10/2007Edit
   Nancy DavolioRe: New Holiday Skin12/10/2007Edit
 CollapseJanet LeverlingRe: New Holiday Skin4/16/1990Edit
  ExpandMax V. Evseev (Developer Express) 12/12/2007Edit
 CollapseAnne Dodsworth 12/13/2007Edit
   Margaret PeacockRe: New Holiday Skin12/15/2007Edit

The DevExpress ASP.NET Tree List (ASPxTreeList) allows you to manually validate edited nodes and display errors for invalid fields.

This demo illustrates how to include data validation in your next ASP.NET project. Validation is implemented within the NodeValidating event handler. Invalid values are indicated via error icons. Hovering the mouse over an icon displays a hint along with an error description.

The HtmlRowPrepared event is handled to indicate nodes with invalid data. This event is raised for each node when the corresponding row within the table has been created. In this example, nodes with invalid data are painted in red.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxTreeListDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxTreeListDemos