New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Views Overview

RadGantt displays tasks in four basic views: Day view, Week view, Month view and Year view. The SelectedView property specifies which of these views the gantt control uses when it first appears (loads). By default, the user can move between Day, Week and Month views using the view tabs. You can remove specific view tab by setting the UserSelectable property of the view to false. Setting the same property to true for YearView will display a view tab for Year along with the default three.

Common Settings for All Views

In this section you could find all common properties that are shared among all views.

Table 1 lists the properties that can be set both globally for all views (on the RadGantt object) and per view.

NameTypeDescription
RangeEndDateTime?Gets or sets the end date and time of the visible range on the view. The RangeEnd date will not be included within the visible range.
RangeStartDateTime?Gets or sets the start date and time of the visible range on the view.
SelectedDateDateTime?Gets or sets the date and time to which the timeline of the view is scrolled.

Table 2 lists the properties that are available in all four View Settings Objects.

NameTypeDescription
SlotWidthUnitGets or sets the slot width in pixels for the respective view.
TypeTelerik.Web.UI.GanttViewType enumerationGets the type of the View, which the settings are applied to - Day, Week, Month or Year.
UserSelectableboolGets or sets a value indicating whether to render a tab for the current view in the view chooser.

All available RadGantt views

See Also