Contents
At a glance
Installation and deployment
DNN
Licensing
Already using the control
Functional overview
ASP.NET 2.0 Features
Getting Started
Grid columns
Grid rows
Defining Structure
Visible/Enabled conventions
Populating the control with data
AJAX
Sorting
Paging
Scrolling
Grouping
Filtering
Selecting grid items
Insert/Update/Delete records
Hierarchical grid types and Load modes
Design-time support
Controlling visual appearance
Localization/Accessibility
RadGrid export
The control lifecycle
Performance tips and tricks
Telerik RadGrid inheritance
How-to
Troubleshooting
Integration with other controls
Client-side API Reference
API Reference
Need for help
|
|
| What's New |
Send comments on this topic. |
What's new in Telerik RadGrid v5.0.0 (part of RadControls Q2 2007)
- Export to PDF, CSV - the grid content can now be exported to pdf/csv files. See the What's new section from online demos for more info.
- Frozen columns support - you can define static columns and their content will be displayed at all times when having scrolling and static headers enabled. See the What's new sectio from online demos for more info and the screen shot below:
- New ControlState feature (equivalent for the DataSourcePersistenceMode = NoPersistence functionality) - even with viewstate disabled explicitly RadGrid will keep track of its most common features and will save/recover its state on postback requests from its control state storage. This feature is available under ASP.NET 2.x only, DataSourcePersistenceMode = NoPersistence is marked as obsolete and still can be used under ASP.NET 1.x.
- Sorted columns colorization - provides the ability to colorize the sorted column. Use RadGrid.SortingSettings.SortedBackColor
to apply color to all the sorted columns, or GridColumn.SortedBackColor to apply color to the respective column (GridColumn setting overrides the SortedBackColor from SortingSettings):
- Various client/server performance optimizations, mainly focused on data-binding, grouping and client object serialization.
- Appearance/skins:
- RTL skinning support; - New Default skin plus three other new skins - Outlook2007, Business and Vista (you can see them here) - Image reorder/drag&drop indicators - applied for all skins; - Filter menu CSS class available in grid skins - GridFilterMenu_<SkinName> signature - Edit form CSS class available in grid skins - GridEditForm_<SkinName> added to edit form item - AJAX Loading Template CSS class available in Grid skins - GridLoadingTemplate_<SkinName> signature
- New properties:
- AllowSorting property for GridCheckBoxColumn and GridDropDownColumn; - AutoGenerateDeleteColumn & AutoGenerateEditColumn properties for the grid similar to MS GridView
- Miscellaneous:
- Codeless hierarchy support for any DataSourceControl with SelectParameters collection; - Full support for the ASP.NET 3.5 LinqDataSource control - Combination of custom paging and grouping now works out-of-the-box - EditAllCommandName to edit all records in the grid; - RebindGridButton && InitInsertButton ID's for the default CommandItem buttons - Different filter menu for System.Boolean data type:

What's new in Telerik RadGrid v4.6.0 (part of RadControls Q1 2007)
- RadGrid PageSizeChanged cancelable server-side event. The grid will not fire PageIndexChanged in this case anymore
- Several bugfixes and minor enhancements of the grid features.
- Ten new client-side events related to grouping and hierarchy expand/collapse and keyboard navigation.
- Validation settings - for easy and flexible server-side validation.
- Auto postback on row click - choose whether or not the grid will trigger postback/ajax request when clicking anywhere in a row.
- Multi-row client selection with Shift key - bringing the standard Windows selections (when holding the shift key from the keyboard) to the web.
- ClientSettings.ColumnsReorderMethod - used to define whether the columns will be reordered or swapped.
- GridDropDownColumn enhancement for optional default item - choose whether or not to display optional list item on edit/insert with the EnableEmptyListItem/EmptyListItemText/EmptyListItemValue properties.
What's new in Telerik RadGrid v4.5 (part of Telerik RadControls for ASP.NET Q4 2006)
- SEO paging - typically the data grids cannot be index by search engines because they would crawl only the first page. In contrast when Telerik RadGrid detects a search engine it will render the page numbers in the pager so that crawlers will mandatorily follow them and index the whole content page by page. Furthermore a search engine hit would take you to the particular grid page.
- GridClientSelectColumn - Telerik RadGrid now has a special column that allow you to select rows on the client using check boxes. Moreover if multi-row selection is enabled, Telerik RadGrid will render "Select All" checkbox in the column header. The feature is presented in this online demo of the product.
- Client-side delete - in addition to the server/AJAX delete feature of Telerik RadGrid there is support for delete operation client-side thus improving the user experience and optimizing the performance. This allows you to delete records without making additional round trips to the server. The actual deletion is done on a postback. When using client-side delete you can still benefit from features like "No more records" template, the ability to cancel the operation on the server, etc.
- Slider/advanced style pager - following the idea of the virtual scrolling first introduced in Telerik RadGrid, the new release features AJAX-based virtual pager for fast navigation through grid pages using a slider/advanced style pager. You can review the new pager types in the relevant online demo.

- Binding to pivot table - Telerik RadGrid can be bound to pivot table. This is especially useful when you want to display the data in a reverse order but still keep the same presentation and structure in the source table.
- Transparent Loading template - the new Telerik RadGrid further enriches the user experience by showing the grid data under the Loading template. The transparency level can be controlled through LoadingTemplateTransparency property of RadGrid.
- Status bar item - the GridStatusBarItem appears below all other items in Telerik RadGrid and displays the information about the current grid status. This item is intended for use when Telerik RadGrid is in AJAX mode and it will indicate when Telerik RadGrid is performing AJAX requests.
- New exporting settings with OpenInNewWindow option - this allows you to export the grid data in a new window, preserving the grid viewstate and keeping the browser window which triggers the export action intact.
What's new in Telerik RadGrid v4.0 (part of Telerik RadControls for ASP.NET Q3 2006)
- Self-referencing in Telerik RadGrid - since v4.0 Telerik RadGrid supports building multiple levels of hierarchy from a single table in the data source by specifying relations inside the same table.
-
- Get DataKeyValues client-side - you can retrieve the DataKeyValues on the client in the similar way as you would do it on the server.
- Automatical filtering for template columns - since version 4.0 you can enable filtering for template columns automatically; just set AllowFilteringByColumn to true for RadGrid.
- Codeless Response.Redirect support - reinforcing the idea of codeless development Telerik RadGrid now natively supports Response.Redirect in AJAX mode, without the need for any code modifications.
What's new in Telerik RadGrid v3.5 (part of Telerik RadControls for ASP.NET Q2 2006)
- New skinning mechanism - Telerik RadGrid is now shipped with a consistent set of skins that allow you to easily build slick interfaces with the look-and-feel of Windows XP, Office, Visual Studio, etc. The skin can be easily switched using a single property.
-
Codeless relations between grids on the page - in order to automate the common scenario of two related grids on a single page Telerik RadGrid provides a new property called SelectedValue. It lets you display specific data in one grid depending on the currently selected item in another grid on the page.
- Enhanced smart tag in Visual Studio 2005 - Telerik RadGrid v3.5 significantly improves the developer's productivity with the new enhanced smart tag. It provides an access to the most frequently used grid features in a codeless manner.

- As of our Q2 2006 release all resources (scripts, the default skins, etc) are implemented as Embedded WebResources in ASP.NET 2.0 for a very easy and convenient deployment. The only thing you now need to do is drag Telerik RadGrid from your toolbox onto your web page (no external files will be required). The /RadControls folder will only be needed if you plan to use a skin other than the default or if you make any modifications to the script files.
- Keyboard navigation - the accessibility features of Telerik RadGrid are further enhanced by the new support for keyboard navigation.
What's new in Telerik RadGrid v3.2 (part of the interim release)
The .NET 2.0 version of r.a.d.grid is now compatible with the new ASP.NET 2.0 MS Atlas framework. The Atlas framework is supported regardless of using Telerik's own 'ajaxified' patent-pending callback mechanism - provided via the use of r.a.d callback.
Telerik RadGrid is now compatible with Atlas. See Atlas support.
New in Telerik RadGrid v3.1 (part of Telerik RadControls for ASP.NET Q1 2006)
- Multiple fields in DateNavigateUrlFormatString - now you can set multiple fields to a GridHyperlinkColumn through its DataNavigateUrlFields property. These fields can later be used when setting the DataNavigateUrlFormatString property and be part of a query string:
|
Copy Code |
|
<rad:GridHyperLinkColumn DataNavigateUrlFields= "ProductID,OrderID" DataNavigateUrlFormatString= "~/Details.aspx?ProductID={0}&OrderID={1}"> </rad:GridHyperLinkColumn> |
- The CommandItem is CSS customizable - you can set the CommandItemStyle property and style the CommandItem through a CSS class.
- The FilteringItem is CSS customizable - you can set the FilterItemStyle property and style the FilteringItem through a CSS class.
- Localization - hard coded strings defining tooltips are now accessible for localization
- New Property Builder skin - Telerik RadGrid v3.1 introduces the new Telerik-style skin for the Property Builder
New in Telerik RadGrid v3.0 (part of Telerik RadControls for ASP.NET Q4 2005)
- Full support for ASP.NET 2.0Full support for ASP.NET 2.0 - Telerik RadGrid is now available in two editions - one for .NET 1.x and a mirror one complied against the .NET 2.0 to offer specific features for Microsoft's next-generation IDE - Visual Studio .NET 2005.
- AJAX support for controls inside Telerik RadGrid - All standard ASP.NET controls in grid cells that normally perform postbacks will now use the Telerik RadGrid AJAX mechanism automatically. Furthermore the AJAX support for third-party controls has been significantly improved. As a result, the developers can enjoy the performance AJAX technology by merely setting a single property EnableAJAX to true.
See a live example at www.telerik.com
- Support for Automatic data editing operations - The data binding mechanism of Telerik RadGrid has been significantly enhanced to effectively utilize the automatic data editing operations of the .NET 2.0 DataSource controls:
- Automatic update/insert/delete from 4 types of columns: GridBoundColumn, GridCheckBoxColumn, GridDropDownColumn and GridTemplateColumn
- Automatic update/insert/delete from edit form template - Telerik RadGrid supports automatic updates even from templates that replace the default edit forms.
- API for programmatic invocation of automatic update/insert/delete
- Error handling API for automatic updates
- Update in both Pessimistic/Optimistic concurrency mode of the DataSource controls
- Declarative support for automatic data editing operations
- Improved API for updating the GridTableView - the ExtractValuesFromItem method will collect all field/value pairs that can be used to perform updates. This allows you to develop your application in a way similar to the update mechanism in ASP.NET 2.0, while saving dozens of extra code.
- Extracting values from TemplateColumns - Telerik RadGrid can extract the values from a template column even under ASP.NET 1.x using the declarative DataBindingsDescrption collection
- Built-in support for inserting new records - you can set Telerik RadGrid to insert new records entirely in a declarative way. Yet when you need greater customization you can still have programmatic control over the behavior of this feature.
- Ability to set the default values for Item prior insertion - Telerik RadGrid allows you with just few lines of code set predefined values for specific Item input controls (e.g. dropdown list) prior to Item insertion. This lets you declaratively bind such input controls and later use their values when performing automatic updates.
- Filtering - Telerik RadGrid can now perform filtering operations for all columns that support filtering GridBoundColumn, GridCheckBoxColumn, etc. For each column there will be a dropdown menu with the available filter expressions.
Telerik RadGrid can automatically determine the expression set applicable for each column based on the data type of the field. Each column data type is automatically stored by Telerik RadGrid during data binding in the DataType property.
See a live example at www.telerik.com
- Virtual Scrolling/Paging with AJAX - hold the Shift key and use the grid scrollbar to virtually change the grid pages. Telerik RadGrid will perform an AJAX request and silently change the page to the one set with the virtual scrollbar.
See a live example at www.telerik.com
- Scrolling with static headers and 100% grid size - without the browser scrollbars and with only Telerik RadGrid scrollbars visible plus static headers, Telerik RadGrid will mimic a Microsoft Excel ® application.
- Keep in edit/insert mode - you can set Telerik RadGrid to stay in edit/insert mode after update by setting the KeepInEditMode/KeepInInsertMode property.
- Declarative support for custom editors - you can now add custom column editors to the WebForm. Then you can declaratively set a column to use these editors. Using this mechanism gives you a great flexibility and very easy customization of the edit forms.
- Significantly Improved Design-time support and property builder - now you can define hierarchical grids using the enhanced property builder in Visual Studio.Net.

Click to enlarge
- Loading template - when Telerik RadGrid is working in AJAX mode, it can display a template during asynchronous operations. You can use the default template or set your own where you can even use rich media like flash objects for example.
-
See a live example at www.telerik.com
- Support for images in button columns - GridButtonColumn and GridEditCommandColumn now support ImageButtons - intuitive default images are now included for edit, update, insert, cancel, add new record, refresh and other, that can much improve the user experience.
-
See a live example at www.telerik.com
- New Command Row - GridCommandItem can be used to add function buttons in the content area of RadGrid, such as [Add New Record], [Refresh], [Delete Selected], etc.
-
See a live example at www.telerik.com
- Pager with templates and command API - the Pager item now can use templates. All command buttons in the template can take advantage of the paging command API, the PagerItem.Paging properties using binding expressions. This allows highest level of customization of the Pager item and even using custom logic for defining the appearance.

See a live example at www.telerik.com
New in Telerik RadGrid v2.0
- XHTML Compliance - Telerik RadGrid now provides complete XHTML compliance. The HTML markup of the component is fully XHTML 1.1 compliant.
- Accessibility Compliance - Telerik RadGrid is now "Level A" content compliant (in accordance with the W3C Web Accessibility Guidelines 1.0).
- Asynchronous (AJAX) Requests - Telerik RadGrid can now make Asynchronous JavaScript with XMLHttpRequests (AJAX). This dramatically improves the responsiveness of the component, simulates Windows-application like behavior, and minimizes the traffic to the server.
To enable AJAX callback requests you need to set a single property (EnableAJAX) to true. This will make all Button, ImageButton, LinkButton controls, as well as any custom controls within Telerik RadGrid to make AJAX callbacks instead of postbacks.
- Client-side expand/collapse and mixed expand/collapse in hierarchical mode - Telerik RadGrid now allows you to expand hierarchical tables client-side for better user experience. Moreover, you can specify the expand/collapse mode (client- or server-side) for each individual table, i.e. client-side for first level and server-side second level.

- Client-side expand/collapse in group-by mode - similarly to the hierarchical mode, Telerik RadGrid can expand/collapse grouped items entirely client-side, eliminating the time-consuming postbacks for this common operation.
- Edit Forms Spanning Across Multiple Columns - Telerik RadGrid allows you to set the number of vertical columns, across which an autogenerated edit form will span.

- UserControls as Edit Forms - Telerik RadGrid supports different edit forms for management of item content. You can switch the type of the edit forms using the GridEditFormType Enumeration. In the example above the edit form is a WebUserControl specified by the UserControlName Property.

- Templates as Edit Forms - similarly to using UserControls as Edit Forms, you can now display templates as Edit Forms.
- Conditional Formatting - Telerik RadGrid now enables you to apply conditional formatting to grid elements for enhanced readability and usability of the displayed data.

|