Invoice Management System

A comprehensive DevExpress MVC demo showcasing GridView CRUD, master-detail, batch editing, FormLayout, PageControl tabs, PopupControl, and adaptive responsive grids - all on a single page.

MVCxGridView MVCxPageControl MVCxFormLayout MVCxPopupControl MVCxComboBox MVCxSpinEdit MVCxDateEdit MVCxCheckBox MVCxRoundPanel MVCxButton
13+
DevExpress Controls
6
Interactive Grids
3
Invoice Types
Full
CRUD Operations
Collapse/Expand
Billing Company Settings
Company Details
*
Address
Banking Details
Save Company Details
Collapse/Expand
User Profile
*
v
v
*
v
Update Profile
x
New
Company 
Contact Person 
Email 
Phone 
VAT Number 
Customer Since 
Active 
 
xv
xv
 
EditDeleteWoolworths HoldingsThabo Molefethabo@woolworths.co.za+27 11 555 0101VAT45300012346/3/2021...X
EditDeleteShoprite GroupNaledi Dlamininaledi@shoprite.co.za+27 21 555 0202VAT45300056786/3/2023...X
EditDeleteDiscovery LtdPieter van der Merwepieter@discovery.co.za+27 11 555 0303VAT45300090126/3/2022...X
EditDeleteNaspersAyanda Nkosiayanda@naspers.com+27 21 555 0404VAT45300034566/3/2024...X
EditDeleteFirst National BankLiesl Bothaliesl@fnb.co.za+27 11 555 0505VAT45300078906/3/2020...X
EditDeleteSasol LtdSipho Mthembusipho@sasol.com+27 10 555 0606VAT45300023456/3/2025...X
EditDeleteMTN GroupZanele Khumalozanele@mtn.co.za+27 83 555 0707VAT453000678910/3/2025...X
EditDeleteStandard BankJohan Pretoriusjohan@standardbank.co.za+27 11 555 0808VAT45300011226/3/2019...X
x
New
SKU 
Product Name 
Category 
Unit Price 
Rental/Day 
Stock 
Reorder At 
Active 
 
xv
x
+
-
x
+
-
x
+
-
x
+
-
xv
 
Inserted values 
Updated values 
Deleted values 
DeleteSW-001Enterprise CRM LicenseSoftware12000.0009990...X
DeleteSW-002ERP Module - FinanceSoftware25000.0009990...X
DeleteSW-003Cloud Backup ServiceSoftware1500.0009990...X
DeleteHW-001Dell PowerEdge ServerHardware45000.00500.00123...X
DeleteHW-002Cisco Network Switch 48-PortHardware18500.00200.00255...X
DeleteHW-003HP LaserJet EnterpriseHardware15000.00150.0082...X
DeleteSV-001IT Consulting (per hour)Services1200.0009990...X
DeleteSV-002Network InstallationServices8500.0009990...X
DeleteSV-003Data Migration ServiceServices35000.0009990...X
DeleteRN-001Laptop - Business GradeRentals085.005010...X
Page 1 of 2 (15 items)Prev12Next
Preview changes
Save changes
Cancel changes
New
Invoice # 
Customer 
Date 
Due Date 
Terms 
Status 
Total 
  
xv
xv
xv
xv
 
ExpandEditDeleteINV-2026-001Woolworths Holdings5/4/20266/3/2026Net30Paid$42,550.00...X
ExpandEditDeleteINV-2026-002Shoprite Group5/19/20266/18/2026Net30Sent$82,800.00...X
ExpandEditDeleteINV-2026-003Discovery Ltd5/29/20266/28/2026Net30Draft$50,025.00...X
ExpandEditDeleteINV-2026-004First National Bank4/19/20265/19/2026Net30Overdue$103,500.00...X
ExpandEditDeleteINV-2026-005MTN Group6/1/20267/31/2026Net60Sent$10,925.00...X
ExpandEditDeleteINV-2026-006Standard Bank6/3/20267/3/2026Net30Draft$69,000.00...X
        Grand Total: $358,800.00 
New
Invoice # 
Customer 
Rental Start 
Rental End 
Rental Details 
Status 
Total 
  
xv
xv
xv
 
ExpandEditDeleteRNT-2026-001Naspers5/14/20266/13/2026Conference equipment rental - 5 daysSent$4,887.50...X
ExpandEditDeleteRNT-2026-002Woolworths Holdings5/24/20266/23/2026Laptop fleet rental - 30 daysSent$14,662.50...X
ExpandEditDeleteRNT-2026-003Discovery Ltd5/31/20266/30/2026Server rental for load testingDraft$5,750.00...X
ExpandEditDeleteRNT-2026-004Sasol Ltd4/4/20265/4/2026UPS backup units rentalPaid$3,450.00...X
        Grand Total: $28,750.00 
New
Credit Note # 
Customer 
Date 
Reason 
Status 
Credit Amount 
  
xv
xv
 
ExpandEditDeleteCRN-2026-001Shoprite Group5/26/2026Overcharge on INV-2026-002 line itemsSent($5,750.00)...X
ExpandEditDeleteCRN-2026-002First National Bank5/9/2026Returned hardware - faulty server unitPaid($51,750.00)...X
ExpandEditDeleteCRN-2026-003Naspers6/2/2026Early return of rental equipmentDraft($2,012.50)...X
       Total Credits: ($59,512.50) 

Building an Invoice Management System with DevExpress MVC Controls

This interactive demo illustrates how to build a complete invoice management system using DevExpress ASP.NET MVC Extensions. Every control on this page is fully functional - you can add, edit, and delete records; expand invoice rows to view and edit line items; switch between invoice types using tabbed navigation; and configure company and user settings through structured form layouts.

DevExpress GridView: The Foundation

The MVCxGridView is the workhorse of this system. We use six separate grid instances across the page: a Customers grid with popup edit form mode for complex data entry, a Products grid with batch editing for rapid inline changes, and three invoice grids (Sales, Rental, Credit Notes) with inline editing and master-detail capabilities. Each grid supports filtering, searching, paging, and adaptive responsive layouts.

Master-Detail Pattern

The invoice grids demonstrate DevExpress's powerful master-detail pattern. Click the expand arrow on any invoice row to reveal its line items in a nested grid. The detail grid uses batch editing, allowing you to add multiple line items, modify quantities and prices, and save all changes at once. This pattern is configured through SettingsDetail.ShowDetailRow and SetDetailRowTemplateContent.

FormLayout for Structured Data Entry

The Billing Company and User Profile sections use MVCxFormLayout to create organised, grouped form fields. FormLayout automatically handles responsive column arrangements, field validation, and grouping with collapsible sections. Combined with MVCxRoundPanel for visual grouping and MVCxCallbackPanel for AJAX refresh, these sections provide a polished settings experience.

PageControl for Tab Navigation

The MVCxPageControl organises the main content into five tabs: Customers, Products, Sales Invoices, Rental Invoices, and Credit Notes. Each tab loads its content independently, and the tab scrolling feature ensures usability on narrower screens. This control eliminates the need for page navigation while keeping the UI clean and organised.

Adaptive Responsive Design

All grids on this page use GridViewAdaptivityMode.HideDataCells, which automatically hides less important columns on smaller screens and shows them in expandable adaptive detail rows. This means the same grid works seamlessly on desktop, tablet, and mobile devices without any custom CSS media queries.

Session-Based Data for Demo Purposes

This demo uses session-based storage to persist your changes during your browsing session. In a production environment, you would replace the session calls with Entity Framework, Dapper, or any other data access layer. The controller pattern remains the same - only the data retrieval methods change.

Want to build something like this? Contact YeboFreelancer - we have over 10 years of experience building enterprise applications with DevExpress controls.