Search
English
ASP.NET Ria Essential Pack: Overview

ASP.NET Ria Essential Pack is a library that includes the Silverlight-based versions of ASP.NET GridView and ASP.NET Chart. These controls are based on the RIA principle: they are usual ASP.NET controls with properties similar to GridView and Chart, but they use the in-built Silverlight application for visualizing data in a user's browser.

The library is supplied in two versions: Ria Essential Pack Standard and Ria Essential Pack Professional - the difference is in the supported features. The following table details the differences between the two versions:

Feature Essential Pack Essential Pack Pro
Binding to any data source + +
Direct/reverse sorting + +
Column dragging and replacing + +
Paging + +
Row/data selection + +
Data manipulation (adding, editing, deleting) + +
Column templating + +
Column fixing - +
Data filtering - +
Data grouping - +
Statistics - +

The Ria Essential Pack Standard without source code is supplied as a FREEWARE. The FREEWARE version has no limitations in functionality, and can be freely used in your own applications. However, on right-click over a control, the Radar-Soft's branding window shows up. To get rid of that window you can purchase any license of the product. All other licenses including all Professional licenses come as commercial and should be paid for.

In comparison to their standard analogues, Ria controls have several advantages:

  1. Rich UI. Because the user interaction is subject of the client side, the application functionality may include anything that could be implemented in a desktop application, including drag and drop, using a slider to change data, smoothing, transparency and so on.
  2. Short response time. Because the browser doesn't need to interact with the server on every operation, the RIA is usually much more responsive than standard web applications that call for a new page every time they need something new.
  3. Web-server relief. Unlike traditional web applications, the RIA's client side takes the lion's share of computing tasks, and so frees the server resources for other tasks. This allows the server to serve more client sessions at the same time, and the whole "computing" balance is better distributed through the net.
  4. Asynchronous interaction. While usual web applications have to wait for the user to perform an interface action such as clicking a button, RIA can interact with the server in the background, i.e. asynchronously. Because of this RIA developers can move data between client side and the server without making the user wait, and thus create the illusion of a desktop application.
  5. Network traffic reduction. RIA's client side is usually able to decide what data it needs from the server to perform an action, so it can only request the part of data that is actually needed in each interaction. So the overall network load is reduced.

Below you'll find a description of each control from the Ria Essential Pack.

ASP.NET Ria Grid ASP.NET Ria Chart
The RiaGridView control allows displaying data from the data source on a web page in the form of a table, as well as selecting, sorting and editing them. It is based on both ASP.NET and Silverlight technologies, by introducing the Silverlight application into GridView, an ASP.NET component. This allows using the capabilities of the Visual Studio environment for tuning the settings of the RiaGridView control.

Data Source Binding

As a data source, you can use any control, implementing the System.Collections.IEnumerable interface. All the data sources, that a standard GridView can work with, will be allowed for RiaGridView.

Column Fields

After the RiaGridView control is bound to a data source, the component automatically creates table columns for each of the fields in the same order they are arranged in the data source. You can also manipulate the display of the columns manually by defining your own column field collection. The RiaGridView control element supports six types of columns that allow displaying data as a text, a hyperlink, a checkbox, an image or a button.



Paging, Sorting and Dragging

The RiaGridView control element allows you to sort data by the column specified in the sorting field property. The sorting is assigned by left clicking the triangle in the in the column header. You can speed up the performance of the component, if you use the automatic paging with fewer records per page. To amend the column order, you can use the Field editor or simply drag-n-drop them. There will appear an arrow, pointing a place, where you can put the column.



Selection and Data Manipulation

A user has an option of single or multiple selections of data cells, as well as editing, inserting and deleting database records. To select a cell, simply left click it. The selected cell will change color. You can select several cells, by indicating the selection area with the mouse cursor. If you select a cell from the first column, all the cells in the row will be selected.




Column Templating

The RiaGridView control lets you bind fields, even if they are related to different data sources. For that, it uses a special field, where each of the records will have a value for display, defined by the bound field, and a value for editing, defined by the main field from the data source, bound to RiaGridView. For editing a record from a column, there is a drop-down list of data from the bound field. When you change the selected value, the data in the data source bound to the RiaGridView control changes accordingly.
The variants of the ProductID field display, depending on the filed type are presented below. The upper control applies the TemplateField type of display, the lower – the BoundField.

Before editing

 
After editing



The picture also demonstrates the singularities of editing records with the TemplateField. The cell with the record before and after editing is selected both in the left and in the right column.


Fixing Columns Pro version only

It is possible in the RiaGridView control to hold columns immovable while horizontal scrolling. To do that, you need to right-click on the column header and select Fixed from the drop-down menu. The column will shift to the left and ‘hold’ in its place.



To return a column to its original state, right-click its header and select Not Fixed from the drop-down menu. It is possible to fix a few columns. The layout of the fixed columns may be changed by drag-n-dropping their headers.

Data Filtering Pro version only

The RiaGridView control allows you to filter records in the run-time mode. Filtering data is displaying records, selected in accordance with the filter expression. The filter expression is a logical expression that consists of conditions, applied to the filed value.
The current state of the filter is displayed on the panel above the data table. Here you can delete or disable a filter and edit its parameters.

Creating a filter:



Disabling a filter:


Editing on the panel is done with the drop-down menus of filter expression elements that allow you to change the filter conditions, filter values and the logical operator.

Changing the filter expression:


You can also change the filter value of the specified filed by selecting an element from the pull-down menu under the filter icon in the header of the filed. If you select (All), the condition of selection for this filed will be deleted from the filter expression and be removed from the panel.

Deleting a condition from the filter expression:



Try to create your own filter right here:


Data Grouping Pro version only

In the RiaGridView control, you can group data by values from several columns. The keys (the values of the column, by which the grouping is performed) define whether a record belongs to the group. The records with the same keys are collated into groups, displayed separately from each other.
Data grouping is performed in the run-time mode. The header cell of the field, by which the grouping will be performed, is dragged to the group panel above the data table.
The group cells are displayed in the control with the indication of the group filed, the group key and the number of records in the group.




A ‘plus’ mark indicated the collapsed state of the group. Right clicking on it will change the mark to ‘minus’ and display the cells of the nested groups or the records with the specified keys.




To cancel grouping, right-click the cross in the upper right corner of the group panel – the cell will be deleted from the panel.
You can also group cells by several fields.



Try gouping the data yourself.



Data Statistics Pro version only

In the RiaGridView control there is an option of displaying data statistics, such as sum, average, minimal and maximal values for numerical fields. The statistics are displayed just below the data table in the line, whose cells contain the statistic information for the corresponding columns. If the data is grouped, the statistic data line will appear after each group of records.



RiaGridView Styles

You can adjust the parameters of the RiaGridView control appearance by setting its properties, among which are: the background (gradient or solid), the border color, and the font parameters.

Related links

Download FREE and eval versions


License agreement


Purchase commercial version


Try Essential Pack online


Latest versions
Click to subscribe

 July 15, 2009

Essential Pack Pro for ASP.NET 1.11.0

Changes...Download...

 

 July 15, 2009

Essential Pack for ASP.NET 1.11.0

Changes...Download...

 

Related articles
Click to subscribe

 July 15, 2009

How to localize Essential Pack for ASP.NET

Details...

 

 June 29, 2009

Templating columns for Essential Pack Grid

Details...
More articles...
Support | Download | Purchase | Partners | Upgrade and Discount Policy | Contacts © 2005-2009 Radar-Soft, L.L.C. All rights reserved.