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 10/31/2024 
 
The value cannot be empty.
v
UpdateCancel
 Please, correct all errors.
  Andrew FullerRe: New Holiday Skin10/31/2024Edit
 Collapse Re: New Holiday Skin10/31/2024Edit
   Nancy DavolioRe: New Holiday Skin10/31/2024Edit
 CollapseJanet LeverlingRe: New Holiday Skin11/5/1990Edit
  ExpandMax V. Evseev (Developer Express) 11/1/2024Edit
 CollapseAnne Dodsworth 11/3/2024Edit
   Margaret PeacockRe: New Holiday Skin11/4/2024Edit

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