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

Task Template

Title
Start Date
Due Date
CollapseAnalysis/Software Requirements05/01/202205/28/2022
  Conduct needs analysis05/01/202205/03/2022
  Draft preliminary software specifications05/03/202205/05/2022
  Review software specifications/budget with team05/04/202205/06/2022
  Incorporate feedback on software specifications05/06/202205/08/2022
  Develop delivery timeline05/08/202205/14/2022
  Obtain approvals to proceed (concept, timeline, budget)05/14/202205/20/2022
  Draft preliminary software specifications05/20/202205/25/2022
  Secure required resources05/25/202205/28/2022

DevExpress ASP.NET Gantt (ASPxGantt) templates help customize the layout and appearance of individual task elements. Templates allow you to mix HTML code with any DevExpress ASP.NET control - and position desired elements within the container. In this demo, a template is used to display images within tasks and change their background color.

Implementation: Handle the client-side TaskShowing event to customize and align task information within the template container. For each task, use the e.item property to obtain task information (title, resource, progress) and wrap it into div elements. Then, apply CSS styles to these div elements and place them into the e.container property.

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