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


ASPxGrid Interactive Lessons
  • Lesson 1: Data Binding, Logic for Update and Delete Operations (442k) Show details
    This lesson guides you through the basic setup and customization of the ASPxGrid. It shows you how to create a grid control and bind it to an MDB table allowing the grid columns to be auto-generated. Additionally, it demonstrates the basic logic which is implemented to handle updates, deletes and inserts of the grid rows.
    Note: that many of the steps in this lesson are required to create the grid control's data source. If you already have one created, only a couple of clicks is required to display its data using the ASPxGrid.
  • Lesson 2: Column Customization, Inplace Editor for a Column (332k)
  • Lesson 3: Preview Sections, Group and Total Summaries, RowBtnColumn (248k)
  • Lesson 4: Creating an Auto-Calculated Column (330k)
  • Lesson 5: Look and Feel Customization (357k)
  • Lesson 6: Implementing Templates (526k)

This sample demonstrates the use of the template technology in the ASPxNavBar control. The look of each basic element of the navbar control can be completely changed by creating a specific template which defines how the element will be rendered by a client browser.

The navbar control is bound to an XmlDataSource object that retrieves data stored in a specific xml file. The navbar's GroupDataBound event is handled to assign a specific group content template to the ContentTemplate property of a group when it is being bound to its data. (See VB or C# code)

ContentTemplate.ascx represents a UserControl that supports the ITemplate interface by implementing the InstantiateIn method and contains a set of child controls which compose the group contents based upon the required design.

The DataBindContentUserControl method (see VB or C# code) demonstrates how the UserControl's child controls can be bound to the required data passed to the GroupDataBound event.

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\ASPxNavigationAndLayoutDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxNavigationAndLayoutDemos