• Schedule and Calendar controls working together [Janus GridEX WinForms Control v3.5 for .NET]

    This tutorial is intended to show you how to use a Calendar control as the date navigator for a Schedule control bound to it.



    Follow these steps to reproduce this sample:



    1) Create a new Visual Basic or C# project using "Windows Application" Template



    2) Add a Schedule Control to a tab in the Toolbox window by right clicking in the Toolbox window and choosing "Choose Items..." menu. When the dialog appears, select ".Net Framework Components" tab, check "Schedule" control in the list and click OK.



    Note: If the Schedule control doesn't appear as an option in the list, click the Browse button and open Janus.Windows.Schedule.dll.



    3) Drag a Schedule control from the toolbox into the Form designer.



    4) Add a Calendar Control to a tab in the Toolbox window by right clicking in the Toolbox window and choosing "Choose Items..." menu. When the dialog appears, select ".Net Framework Components" tab, check "Calendar" control in the list and click OK.



    Note: If the Calendar control doesn't appear as an option in the list, click the Browse button and open Janus.Windows.Schedule.v3.dll.



    5) Drag a Calendar control from the toolbox into the Form designer.



    6) Select the Calendar control and set the following properties in the properties window:



    Schedule = schedule1

    SelectionStyle = Schedule



    7) Set the AllowDrop property of the Calendar control to true in order to allow the user to drop appointments from the Schedule to any date in the Calendar.

    Source Of Information : Janus v3.5 Help Files for VS 2008


1 comments:

Leave a Reply