Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Templates

ASPxGrid Interactive Lessons
  • Lesson 1: Data Binding, Logic for Update and Delete Operations (442k).Text
    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).Text Show details
  • Lesson 3: Preview Sections, Group and Total Summaries, RowBtnColumn (248k).Text Show details
  • Lesson 4: Creating an Auto-Calculated Column (330k).Text Show details
  • Lesson 5: Look and Feel Customization (357k).Text Show details
  • Lesson 6: Implementing Templates (526k).Text Show details


This sample demonstrates the use of templates within the DevExpress MVC Navigation Bar.

Templates for the header, collapsed header and the content of a group are used in this demo. These templates are assigned by using the NavBar's SetGroupHeaderTemplateContent, SetGroupHeaderTemplateCollapsedContent and SetGroupContentTemplateContent methods, respectively. These methods contain a parameter that represents the NavBarGroupTemplateContainer object, providing settings of a templated element.

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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos