Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
   [Collapse]Getting Started
     Lesson 1 - Create a Simple Scheduling Application
     Lesson 2 - Create a Simple Scheduling Application with DateNavigator
     Lesson 3 - Provide Bar UI for a Scheduler
     Lesson 4 - Provide Ribbon UI for a Scheduler
     Lesson 5 - Bind a Scheduler to MS SQL Database at Design Time
     Lesson 6 - Bind a Scheduler to MS Access Database at Design Time
     Lesson 7 - Create a Custom Appointment Edit Form
     Lesson 8 - Implement a Custom Inplace Editor
   [Expand]Fundamentals
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Lesson 2 - Create a Simple Scheduling Application with DateNavigator

This document describes how to quickly create a simple scheduling application with a control for navigating dates, and start working with a SchedulerControl in unbound mode. You can do this by creating a new project and adding the required controls (SplitContainerControl, SchedulerControl and DateNavigator) from the toolbox, or by using Visual Studio project templates accessed via the wizard, invoked when creating a new project.

The DateNavigator control delivers the Microsoft® Outlook® style to your scheduling application interface. It allows end-users to navigate through dates within SchedulerControl, and switches the scheduler view to the most appropriate display type, to show the selected date interval.

Expanded Create a Scheduling Application with Date Navigator

  1. Create a new project in Microsoft Visual Studio and drop the SplitContainerControl item from the DX.17.2: Navigation & Layout toolbox tab to the form. Stretch the control to fill the form by setting its Dock property to Fill. Set the FixedPanel property to Panel2 (right panel), and the SplitterPosition property to 215.

  2. Drop the SchedulerControl item from the DX.17.2: Scheduling toolbox tab to the left panel of the SplitterContainer. Set the SchedulerControl.Dock property to Fill (You can click the Dock in Parent Container link in the smart tag to achieve the same result). This will stretch the SchedulerControl to fill the panel.

  3. Drop the DateNavigator item from the DX.17.2: Scheduling toolbox tab to the right panel. The DateNavigator binds itself to the SchedulerControl automatically, when placed on a form containing a SchedulerControl. Set the DateNavigator.Dock property to Fill.
  4. As a result, you will have an application with a scheduler in unbound mode, and a date navigator that provides intuitive access to specific time frames. Any selection made in the date navigator is synchronized with the scheduler.

How would you rate this topic?​​​​​​​