ASP.NET Pack Programmer's Guide
Adding the control

1. Customize the Visual Studio toolbox

Assuming you have already installed MindFusion.Scheduling for WebForms, your next goal is to add the components from the MindFusion.Scheduling package to the Visual Studio toolbox. Follow these steps to customize the toolbox:

1.1 Create a new ASP.NET Web Site

Select File -> New Website from the Visual Studio menu. In the dialog that appears, select ASP.NET Web Site from the list of installed templates. Type in the name of your web site (this tutorial uses Tutorial1) and click 'OK'.

1.2 Add the Calendar control to the Toolbox

 Note

The MindFusion.Scheduling.WebForms.dll file is usually found in the 'C:\Program Files\MindFusion\MindFusion.Scheduling for ASP.NET' folder or in the folder where you have installed the product.

Choose the 'View\Toolbox' menu item. Right-click the toolbox to show its context menu:

2. Add the Calendar control

2.1 Drag and drop the control

A Calendar icon should appear in the selected category in the toolbox. Click on the icon and drag it to the form's working area. This creates a new MindFusion.Scheduling.WebForms Calendar control on the form.

2.2 Change the initial settings

The 'Calendar Tasks' pane appears when the Calendar control is dropped. From there you can choose the View, Theme and others:

2.3 Add a ScriptManager

You must also add a System.Web.UI.ScriptManager control, which is located in the AJAX Extensions tab.