What's New in v2008 vol 2
ASPxGridView and Editors Suite
LINQ Support Improvements
In the previous version, we allowed ASPxGridView controls to delegate data processing to the server side even when they're bound to data via LinqDataSource components. However, grids were read-only in this mode. With v2008 vol 2, we have implemented full support for data editing and provided three options that control whether end-users can edit cell values, add new records and delete existing rows.
Data Filtering Enhancements
Filter Row Menu
End-users can now select comparison operators to be used in filtering conditions. To do this, they need to invoke a context menu by clicking a filter row button, as shown below.
New Comparison Operators
Five new built-in comparison operators are now available. They include the following: Greater Than, Greater Than or Equal, Less Than, Less Than or Equal, Not Equal.
Data Export Improvements
ASPxGridView now allows you to export master-detail data. When exporting, you can use one of the following options:
Export only master rows
Export all master rows and all details
Export all master rows and only expanded details
Page Headers and Footers
When exporting a grid's data, it's now possible to customize the content of page headers and footers. Both headers and footers provide three sections - with left, centered and right alignment. Every section can contain arbitrary text as well as service fields displaying the current date, page number, user name, etc.
To make it easier to customize header and footer content, we are providing a design-time editor shown in the following image.
In previous versions, hyperlinks were always exported as plain text – with this release, they are automatically exported in hyperlink format, if possible. We've also added a new style that gives you the ability to specify how to paint hyperlinks within a printed document.
Built-In Data Editing UI
The ASPxTreeList Suite now fully supports data editing. To allow end-users to modify cell values, simply add a Command Column and display required command buttons (Edit, Insert, Delete).
To provide user-friendly data input, the TreeList control now ships with eight different data column types, each providing a particular cell editor - check box, spin editor, combo box, etc. These editors are controls from our ASPxEditors Library shipped with the ASPxTreeList Suite.
Edit Form Layouts
When an end-user switches to edit mode, the ASPxTreeList can use one of the following UI solutions:
- In-line Editing
In this mode, editors are simply embedded into data cells.
- Edit Form
When switching to this mode, an edit form appears below or instead of the edited node. This form is represented by a table, which automatically arranges label-editor pairs. You can customize this table by specifying the number of its columns by changing column and row span values of individual label-editor pairs.
- Edit Form Template
It's also possible to construct edit forms manually via templates.
Node Validation and Error Indication
The ASPxEditors Library implements an advanced data validation mechanism that can now be used when editing ASPxTreeList nodes. One way to use it is to enable client-side validation so that errors are immediately shown to end-users (this of course requires additional scripts to be loaded on to the client).
Another way is to validate data on the server. Two built-in error indication options are available in this mode. You can display error icons next to the editors with invalid values, or display the error node below the edit form, or both.
End-users can now drag and drop nodes either within an ASPxTreeList, or from the ASPxTreeList to an external control. A single option needs to be changed to enable this functionality.
The ASPxTreeList Suite v2008 vol 2 supports data export to PDF, RTF and XLS formats.