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

Templates

First Name 
Last Name 
Birth Date 
Title 
Hire Date 
First NameNancyLast NameDavolio
TitleSales Representative
Birth Date12/8/1970Hire Date5/1/2014
Education includes a BA in psychology from Colorado State University in 1970. She also completed "The Art of the Cold Call." Nancy is a member of Toastmasters International.
First NameAndrewLast NameFuller
TitleVice President, Sales
Birth Date2/19/1974Hire Date8/14/2014
Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representative, was promoted to sales manager in January 1992 and to vice president of sales in March 1993. Andrew is a member of the Sales Management Roundtable, the Seattle Chamber of Commerce, and the Pacific Rim Importers Association.
First
Last
v


This demo describes ways to use Templates within the DevExpress Grid View - in particular, this sample uses Templates for the pager bar and individual data rows.

Templates are defined by using the SetPagerBarTemplateContent and SetDataRowTemplateContent methods, respectively. These methods contain a parameter that represents specific template container objects. Template children are represented by combinations of HTML elements and DevExpress Editors.


See Also:
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\MVCxGridViewDemos